riemann-bacula 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0499f815167711cba4183d48892adaac79f6e4e85f93afc98bff39d0dbd150a3'
4
- data.tar.gz: e3fc084ea69056b5ac40ee69a85688ce22cc41594838092fbcf7e7cedcc0a763
3
+ metadata.gz: d6352841033d7fa669793cba957a59cc4fa35369d2866914dbb782bb3b507f97
4
+ data.tar.gz: 66826e73f558d5f2c788d0a5b3b60a413b420f76e47957a517727f51ae7ec15c
5
5
  SHA512:
6
- metadata.gz: 60ab698e159a288be2417ad6e04e34c144d8865422b9eb841b6691679a232a9e83adaf50539cd70f67d4bfa8f53c9d5b4653f9c866db61d93fae41de3c054622
7
- data.tar.gz: 07b689de3b9e91c88ce565adbb3c3ac4f7b4e6d42f9b3fc2b8b963f6a0f277f5ba59f17ff4b5f78cac71a92c0d1d1d56319ca940ad19dac18b3947a89e68bb63
6
+ metadata.gz: 3d1888b9a7920c0dab4b5c3c30ae8b06acf5ed8e54eaa70e6e848db3ff1dd1087282b42b2a0be1a857935e6497ff662e445383c2be07276a033d7a1ce84fb042
7
+ data.tar.gz: 74117f74b1181b5d619e27d04f888627ee1d212a9fc66aa78a657374847f8fad9a3b1c999976126db5fab600ef5698a9b699b4d562997a39bbc6940bd3850acb
data/CHANGELOG.md CHANGED
@@ -1,8 +1,16 @@
1
1
  # Changelog
2
2
 
3
- ## [1.1.0](https://github.com/opus-codium/riemann-bacula/tree/1.1.0) (2022-10-20)
3
+ ## [v1.2.0](https://github.com/opus-codium/riemann-bacula/tree/v1.2.0) (2022-10-27)
4
4
 
5
- [Full Changelog](https://github.com/opus-codium/riemann-bacula/compare/v1.0.0...1.1.0)
5
+ [Full Changelog](https://github.com/opus-codium/riemann-bacula/compare/v1.1.0...v1.2.0)
6
+
7
+ **Implemented enhancements:**
8
+
9
+ - Embed more metadata in events [\#5](https://github.com/opus-codium/riemann-bacula/pull/5) ([smortex](https://github.com/smortex))
10
+
11
+ ## [v1.1.0](https://github.com/opus-codium/riemann-bacula/tree/v1.1.0) (2022-10-20)
12
+
13
+ [Full Changelog](https://github.com/opus-codium/riemann-bacula/compare/v1.0.0...v1.1.0)
6
14
 
7
15
  **Implemented enhancements:**
8
16
 
data/Rakefile CHANGED
@@ -15,6 +15,6 @@ GitHubChangelogGenerator::RakeTask.new :changelog do |config|
15
15
  config.user = 'opus-codium'
16
16
  config.project = 'riemann-bacula'
17
17
  config.exclude_labels = ['skip-changelog']
18
- config.future_release = Riemann::Tools::Bacula::VERSION
18
+ config.future_release = "v#{Riemann::Tools::Bacula::VERSION}"
19
19
  config.since_tag = 'v1.0.0'
20
20
  end
@@ -3,7 +3,7 @@
3
3
  module Riemann
4
4
  module Tools # :nodoc:
5
5
  class Bacula
6
- VERSION = '1.1.0'
6
+ VERSION = '1.2.0'
7
7
  end
8
8
  end
9
9
  end
@@ -199,6 +199,8 @@ module Riemann
199
199
  'critical'
200
200
  end
201
201
  event[:description] = data['Termination']
202
+ event[:job_name] = data['Job Name']
203
+ event[:backup_level] = data['Backup Level']
202
204
  report(event)
203
205
 
204
206
  return unless options[:details]
@@ -218,6 +220,8 @@ module Riemann
218
220
  event = {}
219
221
  event[:service] = "bacula backup #{data['Job Name']} #{data['Backup Level'].downcase} #{metric.downcase}"
220
222
  event[:metric] = data[metric]
223
+ event[:job_name] = data['Job Name']
224
+ event[:backup_level] = data['Backup Level']
221
225
  report(event)
222
226
  end
223
227
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riemann-bacula
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Romain Tartière
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-20 00:00:00.000000000 Z
11
+ date: 2022-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: riemann-tools