Releases: deadtrickster/prometheus.ex
Releases · deadtrickster/prometheus.ex
Wow, it's been 6 years since the last one
What's Changed
- fix link to monitoring article by @progsmile in #30
- newer elixir and erlang versions in travis-ci config by @jlgeering in #32
- Elixir 1.11 compatibility by @feld in #36
- Fix elixir stacktrace warning in forgotten place by @dylan-chong in #39
- Misc doc changes by @kianmeng in #38
- Create prometheus_and_grafana_setup.md by @skosch in #34
- Migrate from Travis CI to GitHub Actions by @zeha in #41
- Fix mnesia_test by @zeha in #40
- Prometheus.Erlang: Fix Kernel.Utils.defdelegate usage for Elixir 1.14 by @lanodan in #47
New Contributors
- @progsmile made their first contribution in #30
- @jlgeering made their first contribution in #32
- @feld made their first contribution in #36
- @dylan-chong made their first contribution in #39
- @kianmeng made their first contribution in #38
- @skosch made their first contribution in #34
- @zeha made their first contribution in #41
- @lanodan made their first contribution in #47
Full Changelog: v3.0.5...v3.1.0
V2.0.0
Breaking change:
All observe_duration/track_inprogress functions no longer do implicit fun execution.
def track_checked_out_sockets(checkout_fun) do
Gauge.track_inprogress([name: :my_pool_checked_out], checkout_fun)
end
has to be rewritten as
def track_checked_out_sockets(checkout_fun) do
Gauge.track_inprogress([name: :my_pool_checked_out], checkout_fun.())
end
Counter
New helper macros:
- count_exceptions [with optional Exception type]
- count_no_exceptions
Metrics
Metrics can be created declaratively:
@histogram [name: :http_request_duration_milliseconds,
labels: [:method],
buckets: [100, 300, 500, 750, 1000],
help: "Http Request execution time"]
when used, __declare_prometheus_metrics__/0
will be auto-generated.
v1.3.0
- Update to prometheus.erl 3.3
- Boolean metric
- Default values
- Text format rendering speedup (>30%)
v1.1.0
Mnesia instrumentation helpers