yabeda 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/yabeda/metric.rb +1 -0
- data/lib/yabeda/version.rb +1 -1
- 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: 324b1326a709ae2ef5754ab07f117a6f7ee801df3f35c0c973198e85c6e7c1b1
|
4
|
+
data.tar.gz: b06be1f053df8d40fa31a3cd0f84ecc52ea7f0fc59c72bf1d13f938862dc16dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61a38c13f05a2357c1dee89891e6738675be94c587fd271950584aa14e581ab49cf87fe27d023b39290357763fed11e8d22f53a6e39930a4d8e0f7959f420cc7
|
7
|
+
data.tar.gz: e5c8f67eed9e8c2e46d8ae6367c12ea287a39eadd75985e78942da285ea8e2ec8d73ea73c54b04c9efe7eb0215ffcff48c0c60fe0fa61c4ca50b134e024fe1aa
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
6
6
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
7
7
|
|
8
|
+
## 0.5.0 - 2020-01-29
|
9
|
+
|
10
|
+
### Added
|
11
|
+
|
12
|
+
- Ability to specify aggregation policy for metrics collected from multiple process and exposed via single endpoint. [@Envek]
|
13
|
+
|
14
|
+
For now it is only used by yabeda-prometheus when official Prometheus client is configured to use file storage for metrics.
|
15
|
+
|
8
16
|
## 0.4.0 - 2020-01-28
|
9
17
|
|
10
18
|
### Changed
|
data/lib/yabeda/metric.rb
CHANGED
@@ -13,6 +13,7 @@ module Yabeda
|
|
13
13
|
option :unit, optional: true, comment: "In which units it is measured. E.g. `seconds`"
|
14
14
|
option :per, optional: true, comment: "Per which unit is measured `unit`. E.g. `call` as in seconds per call"
|
15
15
|
option :group, optional: true, comment: "Category name for grouping metrics"
|
16
|
+
option :aggregation, optional: true, comment: "How adapters should aggregate values from different processes"
|
16
17
|
|
17
18
|
# Returns the value for the given label set
|
18
19
|
def get(labels = {})
|
data/lib/yabeda/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yabeda
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrey Novikov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|
@@ -111,7 +111,7 @@ dependencies:
|
|
111
111
|
description: 'Collect statistics about how your application is performing with ease.
|
112
112
|
Export metrics to various monitoring systems.
|
113
113
|
|
114
|
-
|
114
|
+
'
|
115
115
|
email:
|
116
116
|
- envek@envek.name
|
117
117
|
executables: []
|