All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Ability to specify a logger instance for exporter web server. @palkan, #19
- Ability to specify Prometheus instance value for push gateway. @ollym, #20
- Debug mode with metric
yabeda_prometheus_render_duration
to measure how long takes to render response with already collected metrics for Prometheus. Requires Yabeda 0.10+. @Envek, @dsalahutdinov
- Yabeda 0.10.0 or newer is required. @Envek
- Fix
uninitialized constant Yabeda::Rack::Handler (NameError)
when using yabeda-rack-attack. @dsalahutdinov
- Fixed issue with Push Gateway require. #13 by @baarkerlounger.
- Fixed possible issue with rack absense in non-web applications. Declared it as a dependency. @Envek
- Relaxed version constraints for prometheus-client as v2.0.0 doesn't break APIs. @Envek
-
Support for metric aggregation when prometheus-client's Direct File Store is used. @Envek
See https://github.com/prometheus/client_ruby#aggregation-settings-for-multi-process-stores for details.
-
Support for new versions of the official prometheus-client gem. @Envek
It is now required to specify not only comments, but also
tags
option for all metrics as prometheus-client now enforces this.Support for specifying tags for metrics was added to yabeda 0.2.
-
Removed support for old versions of the official prometheus-client gem. @Envek
Due to incompatible changes in official client API
-
Removed support for prometheus-client-mmap gem. @Envek
Support for multiprocess servers is now included in official Prometheus ruby client.
- Issue #7 with counters and gauges when using prometheus-client-mmap gem. Fixed in #8 by @alexander37137
-
Support for prometheus-client-mmap gem that allow to collect metrics from forking servers like Passenger or Puma in clustered mode. @Envek
Now you need to manually specify which gem you need to use in your Gemfile due to lack of either/or dependencies in RubyGems.
gem "prometheus-client" gem "yabeda-prometheus"
Or:
gem "prometheus-client-mmap" gem "yabeda-prometheus"
-
Ability to mount exporter to Rails application routes as standalone Rack app. @Envek
Rails.application.routes.draw do mount Yabeda::Prometheus::Exporter => "/metrics" end
- Renamed evil-metrics-prometheus gem to yabeda-prometheus. @Envek
-
Eliminate data duplication in counters and gauges. @Envek
Use values stored in core gem metric objects and just let Prometheus to read them.
- Initial release of evil-metrics-prometheus gem. @Envek