yabeda 0.4.0 → 0.5.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 30e7d6e3fee4aac1922285af3fe9abc61cbfedff88ec2c2b95f70478383c02df
4
- data.tar.gz: b5ff1691c1c692672b3d03fd46fc13f299d8851f61d3a65e1571389787b8b050
3
+ metadata.gz: 324b1326a709ae2ef5754ab07f117a6f7ee801df3f35c0c973198e85c6e7c1b1
4
+ data.tar.gz: b06be1f053df8d40fa31a3cd0f84ecc52ea7f0fc59c72bf1d13f938862dc16dd
5
5
  SHA512:
6
- metadata.gz: 0b0872f973fe39a30be8c3c74f91e7c472aa246f7be08ed0d719c605b9ab42c7625b47c294dec04a15f82b4cc90984953b5658cc8041c51776ce3bb3ea70a1a9
7
- data.tar.gz: 6ae9978212486a4deeefbb173cc7c103f5fa3a3f64db4c5ec21188a9a38aa94af39c741b900970ab5649d5ced0bf5979acd65bd531fdfa7b577640d85e7ab531
6
+ metadata.gz: 61a38c13f05a2357c1dee89891e6738675be94c587fd271950584aa14e581ab49cf87fe27d023b39290357763fed11e8d22f53a6e39930a4d8e0f7959f420cc7
7
+ data.tar.gz: e5c8f67eed9e8c2e46d8ae6367c12ea287a39eadd75985e78942da285ea8e2ec8d73ea73c54b04c9efe7eb0215ffcff48c0c60fe0fa61c4ca50b134e024fe1aa
@@ -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
@@ -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 = {})
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Yabeda
4
- VERSION = "0.4.0"
4
+ VERSION = "0.5.0"
5
5
  end
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.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-28 00:00:00.000000000 Z
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: []