sidekiq_prometheus 1.6.0 → 1.7.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: a6dc43957020461f1b740cee64cdfff9b40f624d4bfe41d57eab772a27fd2b21
4
- data.tar.gz: adb0cb635975340d514fbea0c798e5269238eb990700a7eeae8c9a2d8d32e6e7
3
+ metadata.gz: c76de7fe8caef12bc6e505dd5e01648c5da34d87b00a6cf756d232a1c988bb46
4
+ data.tar.gz: d211a23831395d5058a7c9ddb281870fde3154956194324984a816b54067e300
5
5
  SHA512:
6
- metadata.gz: 48f466c9d2904644ce161665b5f06092dff197e4b2550d9355d6c6e57832fc779d4ef3f5c0abaa63013c91fd249bb134234f201aafe9a9271f3bb121123b25ec
7
- data.tar.gz: c2c181822b1a9d1e2ace0084301ac4517966a8bf4672884dd48c352d7af18374e7b2cb94d5f628a799dce8e12a372dadbc814d9d0cd91be211da097b0584e765
6
+ metadata.gz: 0cc266bed6f539d955405fe35b5e41a2f539b65ce7d4a552b70e745fe760a6e1a216ee22278889a193e7456e42bc72cc54b486b7f7266a2a3e80b33754c251f4
7
+ data.tar.gz: 1544e8d064ccc46548153382e531131e250b4bf8acf567daebbf40daab8d934c0d46ef11bdd05ad7ff16f6961b79a205bde999d4e17b1a27e272ca2c1dd1b827
data/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  CHANGELOG
2
2
 
3
+ <a name="v1.6.0"></a>
4
+ ## [v1.6.0](https://github.com/fastly/sidekiq-prometheus/compare/v1.5.0...v1.6.0) (2021-08-03)
5
+
6
+ ### Features
7
+
8
+ * add option for silencing the WEBrick access logging of /metrics
9
+
10
+ ### Pull Requests
11
+
12
+ * Merge pull request [#25](https://github.com/fastly/sidekiq-prometheus/issues/25) from fastly/option_for_silencing_webrick
13
+
3
14
 
4
15
  <a name="v1.5.0"></a>
5
16
  ## [v1.5.0](https://github.com/fastly/sidekiq-prometheus/compare/v1.4.0...v1.5.0) (2021-08-02)
data/README.md CHANGED
@@ -82,7 +82,7 @@ end
82
82
  * `periodic_metrics_enabled`: Boolean that determines whether to run the periodic metrics reporter. `PeriodicMetrics` runs a separate thread that reports on global metrics (if enabled) as well worker GC stats (if enabled). It reports metrics on the interval defined by `periodic_reporting_interval`. Defaults to `true`.
83
83
  * `periodic_reporting_interval`: interval in seconds for reporting periodic metrics. Default: `30`
84
84
  * `metrics_server_enabled`: Boolean that determines whether to run the rack server. Defaults to `true`
85
- * `metrics_server_logging_enabled`: Boolean that determines if the metrics server will log access logs. Defaults to `true`
85
+ * `metrics_server_logger_enabled`: Boolean that determines if the metrics server will log access logs. Defaults to `true`
86
86
  * `metrics_host`: Host on which the rack server will listen. Defaults to
87
87
  `localhost`
88
88
  * `metrics_port`: Port on which the rack server will listen. Defaults to `9359`
@@ -11,6 +11,9 @@ module SidekiqPrometheus::Metrics
11
11
  { name: :sidekiq_workers_size,
12
12
  type: :gauge,
13
13
  docstring: 'Total number of workers processing jobs', },
14
+ { name: :sidekiq_processes_size,
15
+ type: :gauge,
16
+ docstring: 'Total number of running sidekiq processes', },
14
17
  { name: :sidekiq_dead_size,
15
18
  type: :gauge,
16
19
  docstring: 'Total Dead Size', },
@@ -18,7 +18,7 @@ class SidekiqPrometheus::PeriodicMetrics
18
18
  attr_reader :interval
19
19
  attr_reader :senate, :sidekiq_stats, :sidekiq_queue
20
20
 
21
- GLOBAL_STATS = %i[failed processed retry_size dead_size scheduled_size workers_size].freeze
21
+ GLOBAL_STATS = %i[failed processed retry_size dead_size scheduled_size workers_size processes_size].freeze
22
22
  GC_STATS = {
23
23
  counters: %i[major_gc_count minor_gc_count total_allocated_objects],
24
24
  gauges: %i[heap_live_slots heap_free_slots],
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SidekiqPrometheus
4
- VERSION = '1.6.0'
4
+ VERSION = '1.7.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq_prometheus
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lukas Eklund
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2021-08-03 00:00:00.000000000 Z
12
+ date: 2022-09-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler