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 +4 -4
- data/CHANGELOG.md +3 -0
- data/Gemfile +1 -1
- data/README.md +6 -1
- data/lib/logstash/outputs/prometheus.rb +1 -1
- data/logstash-output-prometheus.gemspec +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1f0c86736f477a6b7b900d055be05aa01857f33e3a51967c088c8833bd0cc0a
|
4
|
+
data.tar.gz: 39cd7248ff4aa5926afacc3830c9d6ca48ed51c9d77c9060b9b8a428d4fe99b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ab0d9137e3927cc0b7ecb3c5337d05665134ff005ffef95f4f909a65d5dd004ebc78d8dd6c058a480ff8b5f247d04458b20a9f83787f7da510c6a9c68ad860c
|
7
|
+
data.tar.gz: 63eedb6ac432b873dd10209ae1f479f289e331fd5634ab2452942273751491d67109ac701f1f5db5bc62a68a061e7b956a668087c4a8c0eadf813bd01fc97b0f
|
data/CHANGELOG.md
CHANGED
@@ -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
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
|
-
|
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 :
|
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.
|
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.
|
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.
|
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-
|
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.
|
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.
|
54
|
+
version: 1.0.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|