Skip to content

Releases: deadtrickster/prometheus.ex

Wow, it's been 6 years since the last one

16 Nov 22:33
4e6ee57
Compare
Choose a tag to compare

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

Full Changelog: v3.0.5...v3.1.0

V2.0.0

09 Sep 17:15
Compare
Choose a tag to compare

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

05 Jun 05:57
Compare
Choose a tag to compare
  • Update to prometheus.erl 3.3
  • Boolean metric
  • Default values
  • Text format rendering speedup (>30%)

v1.1.0

21 Oct 23:04
Compare
Choose a tag to compare

Mnesia instrumentation helpers

The very first one

27 Sep 11:20
Compare
Choose a tag to compare