logstash-output-prometheus 0.1.2 → 0.1.3

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: aef78a06c4cebe6b1ee6f18fcefafc9faeaf388f7ffb57da0fe1fb293b471f77
4
- data.tar.gz: 58a22a7e159bd07fb722ee272ea1af6e3d59c23d68e57ead0320e6424e3d99c7
3
+ metadata.gz: e1f0c86736f477a6b7b900d055be05aa01857f33e3a51967c088c8833bd0cc0a
4
+ data.tar.gz: 39cd7248ff4aa5926afacc3830c9d6ca48ed51c9d77c9060b9b8a428d4fe99b2
5
5
  SHA512:
6
- metadata.gz: d5aff36988e31e381e51e391a647af3e44d81f32f87ef85fba7d981a7715ace193ad84836d6f2593c4512a9a27bb0174fcafb82b7482cc317420dad5e2c4a645
7
- data.tar.gz: a646a44f1a3e96b8520d6dcd08affd2cdeeec516db3016bc592c2b9f609b70f197121e928e77b785c8c5fbd6991dc96990006d8ee0369ca69f6100a9b7c87dff
6
+ metadata.gz: 4ab0d9137e3927cc0b7ecb3c5337d05665134ff005ffef95f4f909a65d5dd004ebc78d8dd6c058a480ff8b5f247d04458b20a9f83787f7da510c6a9c68ad860c
7
+ data.tar.gz: 63eedb6ac432b873dd10209ae1f479f289e331fd5634ab2452942273751491d67109ac701f1f5db5bc62a68a061e7b956a668087c4a8c0eadf813bd01fc97b0f
@@ -1,3 +1,6 @@
1
+ ## 0.1.3
2
+ - Threading problem was proven to be caused by another plugin, unrelated to us. Reverting to a shard concurrency model
3
+ - Upgraded prometheus/client to v1.0.0
1
4
  ## 0.1.2
2
5
  - Set to be a single threaded plugin while investigation into deadlocks occurs.
3
6
  ## 0.1.1
data/Gemfile CHANGED
@@ -4,7 +4,7 @@ gemspec
4
4
  gem 'logstash-core'
5
5
  gem 'logstash-core-plugin-api'
6
6
 
7
- gem 'prometheus-client', "0.10.0.pre.alpha.2"
7
+ gem 'prometheus-client', "1.0.0"
8
8
  gem "rack", ">= 1.6.11"
9
9
 
10
10
  gem 'logstash-devutils', ">= 1.3.1", :group => [:development]
data/README.md CHANGED
@@ -99,4 +99,9 @@ output {
99
99
 
100
100
  As outlined in https://www.robustperception.io/putting-queues-in-front-of-prometheus-for-reliability, putting a queue in front of Prometheus can have negative effects. When doing this, please ensure you are monitoring the time it takes events to pass through your queue.
101
101
 
102
- This is currently a beta plugin, and does not yet have official logstash adoption. One of the big things holding us back is that `prometheus-client` over at https://github.com/prometheus/client_ruby is still in alpha.
102
+ ## Steps towards a 1.0 release
103
+
104
+ Things needed for a 1.0 release:
105
+ - Official logstash adoption (nice to have). See: https://github.com/elastic/logstash/issues/11153
106
+ - ~`prometheus-client` over at https://github.com/prometheus/client_ruby is still in alpha.~ This has now been solved.
107
+ - A stable release without known errors for one month.
@@ -8,7 +8,7 @@ require 'prometheus/client'
8
8
  # An prometheus output that does nothing.
9
9
  class LogStash::Outputs::Prometheus < LogStash::Outputs::Base
10
10
  config_name "prometheus"
11
- concurrency :single
11
+ concurrency :shared
12
12
 
13
13
  config :port, :validate => :number, :default => 9640
14
14
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-prometheus'
3
- s.version = '0.1.2'
3
+ s.version = '0.1.3'
4
4
  s.licenses = ['Apache-2.0']
5
5
  s.summary = 'Output logstash data to a prometheus exporter'
6
6
  # s.homepage = 'Nada'
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
19
19
  # Gem dependencies
20
20
  s.add_runtime_dependency "logstash-core-plugin-api", "~> 2.0"
21
21
  s.add_runtime_dependency "logstash-codec-plain"
22
- s.add_runtime_dependency "prometheus-client", "0.10.0.pre.alpha.2"
22
+ s.add_runtime_dependency "prometheus-client", "1.0.0"
23
23
  s.add_runtime_dependency "rack", ">= 1.6.11"
24
24
 
25
25
  s.add_development_dependency "logstash-devutils", "~> 1.3", ">= 1.3.1"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-prometheus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Spencer Malone
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-21 00:00:00.000000000 Z
11
+ date: 2019-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -43,7 +43,7 @@ dependencies:
43
43
  requirements:
44
44
  - - '='
45
45
  - !ruby/object:Gem::Version
46
- version: 0.10.0.pre.alpha.2
46
+ version: 1.0.0
47
47
  name: prometheus-client
48
48
  prerelease: false
49
49
  type: :runtime
@@ -51,7 +51,7 @@ dependencies:
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.10.0.pre.alpha.2
54
+ version: 1.0.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  requirement: !ruby/object:Gem::Requirement
57
57
  requirements: