github prometheus/statsd_exporter v0.15.0
0.15.0 / 2020-03-05

latest releases: v0.26.1, v0.26.0, v0.25.0...
4 years ago
  • [ENHANCEMENT] Allow setting granularity for summary metrics (#290)
  • [ENHANCEMENT] Support a random-replacement cache invalidation strategy (#281

To facilitate the expanded settings for summaries, the configuration format changes from

mappings:
- match: 
  timer_type: summary
  quantiles:
    - quantile: 0.99
      error: 0.001
    - quantile: 0.95
      error: 0.01
  

to

mappings:
- match: 
  timer_type: summary
  summary_options:
    quantiles:
      - quantile: 0.99
        error: 0.001
      - quantile: 0.95
        error: 0.01
      
    max_summary_age: 30s
    summary_age_buckets: 3
    stream_buffer_size: 1000
  

For consistency, the format for histogram buckets also changes from

mappings:
- match: 
  timer_type: histogram
  buckets: [ 0.01, 0.025, 0.05, 0.1 ]

to

mappings:
- match: 
  timer_type: histogram
  histogram_options:
    buckets: [ 0.01, 0.025, 0.05, 0.1 ]

Transitionally, the old format will still work but is deprecated. The new
settings are optional.

For users of the mapper
as a library, this is a breaking change. To adjust your code, replace
mapping.Buckets with mapping.HistogramOptions.Buckets and
mapping.Quantiles with mapping.SummaryOptions.Quantiles.

Don't miss a new statsd_exporter release

NewReleases is sending notifications on new releases.