fluent-plugin-elasticsearch-stats 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +12 -0
- data/fluent-plugin-elasticsearch-stats.gemspec +1 -1
- data/lib/fluent/plugin/elasticsearch_stats/metric.rb +4 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc6e000fbec0775f72253f8f06d1b106da5a9fee93fc2d3e97201c97c03d51f0
|
4
|
+
data.tar.gz: 4689ab101c5c6bf3780122e3574cf847937fa49e4992f56379dd54b5c1dd2fc1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5545ec448d383a788d7cac8bb90dcf5917dbe46ed4d9835850e293255326b7e8b77221ded6a249275d8a20b078ca73989a5b8af1e63e9748af456edcec55d179
|
7
|
+
data.tar.gz: f817cb0db3deaeba7b6393f81d7184e6b593224e2dcdd6b59a52f019759888f1c1c75020c6aeba9bd4216f6d9c8e1d01f9af0e4df495dc141fd87ec026ed488e
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -105,6 +105,18 @@ Events from **[/_dangling](https://www.elastic.co/guide/en/elasticsearch/referen
|
|
105
105
|
|----------|-------------|---------|--------------------------------|
|
106
106
|
| dangling | true\|false | false | enable dangling events collect |
|
107
107
|
|
108
|
+
#### status mapping
|
109
|
+
|
110
|
+
Here is the chosen status mapping to metric :
|
111
|
+
|
112
|
+
| status | value |
|
113
|
+
|--------|-------|
|
114
|
+
| green | 0 |
|
115
|
+
| yellow | 1 |
|
116
|
+
| red | 2 |
|
117
|
+
|
118
|
+
So through aggregation, it is still possible to identify status in time (green or not-green).
|
119
|
+
|
108
120
|
|
109
121
|
## Installation
|
110
122
|
|
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = 'fluent-plugin-elasticsearch-stats'
|
8
|
-
spec.version = '0.
|
8
|
+
spec.version = '0.6.0'
|
9
9
|
spec.authors = ['Thomas Tych']
|
10
10
|
spec.email = ['thomas.tych@gmail.com']
|
11
11
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-elasticsearch-stats
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Tych
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bump
|
@@ -252,7 +252,7 @@ licenses:
|
|
252
252
|
metadata:
|
253
253
|
homepage_uri: https://gitlab.com/ttych/fluent-plugin-elasticsearch-stats
|
254
254
|
source_code_uri: https://gitlab.com/ttych/fluent-plugin-elasticsearch-stats
|
255
|
-
documentation_uri: http://www.rubydoc.info/gems/fluent-plugin-elasticsearch-stats/0.
|
255
|
+
documentation_uri: http://www.rubydoc.info/gems/fluent-plugin-elasticsearch-stats/0.6.0
|
256
256
|
rubygems_mfa_required: 'true'
|
257
257
|
post_install_message:
|
258
258
|
rdoc_options: []
|