Skip to content

v0.2.0

Choose a tag to compare

@benoitc benoitc released this 30 Mar 22:41
· 112 commits to master since this release

What's New

Added

  • Vec API for labeled metrics (prometheus-cpp style)
  • Direct vec operations: inc_counter_vec, get_counter_vec, inc_gauge_vec, dec_gauge_vec, set_gauge_vec, get_gauge_vec, observe_histogram_vec, get_histogram_vec
  • labels/2 function to get labeled metric instances
  • Prometheus text format export via instrument_prometheus:format/0
  • GitHub Actions CI for OTP 27/28 on Linux and macOS
  • ex_doc documentation support
  • Type specs for prometheus, vector, and registry modules

Changed

  • Modernized NIF code from C++ to C11 with CMake build system
  • Updated README with examples and API documentation
  • Updated copyright to 2017-2026

Removed

  • Dead code cleanup