Skip to content

Releases: prometheus-erl/prometheus.erl

v3.3.0

23 May 22:24
e99adae
Compare
Choose a tag to compare
  • Metrics without labels have default values now (0). #37
  • Boolean metric prometheus_boolean. #57 (more here: prometheus_boolean:set)
  • More than 30% text format rendering speedup.

v3.2.3

05 May 22:35
9173a21
Compare
Choose a tag to compare

Reorganize dependencies. Prod and develop profiles are now dependency-free.

Can be used an elixir dependency

13 Mar 11:18
c5def9d
Compare
Choose a tag to compare
v3.2.2

bump to 3.2.2

prometheus_registry:exists/1

11 Mar 08:33
825f98e
Compare
Choose a tag to compare
v3.2.1

add prometheus_registry:exists/1 and bump to 3.2.1

Very minor fixes

01 Mar 07:12
Compare
Choose a tag to compare
update doc and bump to 3.1.1

add extatus and beam-dashboards to the readme

v3.1.0

21 Oct 09:07
995c433
Compare
Choose a tag to compare

3.0.1

03 Oct 06:24
Compare
Choose a tag to compare

Bug-fixes

  • windows build bug fix (#40).

Optimizations

Documentation

  • remove obsolete files, formatting (#41).

3.0.0

27 Sep 10:59
Compare
Choose a tag to compare

Breaking Changes:

  • invalid_metric_arity tuple changed. Added metric real arity to invalid_metric_arity error tuple;
  • fix histogram,summary:observe_duration arguments order (Registry now goes first);
  • changed collect_mf/3,2 args order;
  • default collectors env key changed to 'collectors';
  • default instrumenters env key changed to 'instrumenters';
  • prometheus_buckets removed deprecations
    generate_linear/3,
    generate_exponential/3;
  • prometheus_histogram: removed deprecated bounds config support;
  • tweak histogram_invalid_buckets error tuple. It always has three elements now;
  • default microseconds buckets: [10, 25, 50, 100, 250, 500, %% microseconds 1000, 2500, 5000, 10000, 25000, 50000, 100000, 250000, 500000, %% milliseconds 1000000, 2500000, 5000000, 10000000];
  • prometheus_histogram:*_buckets functions are private.

Deprecations:

  • deprecate prometheus_collector:register/deregister;
  • deprecate metric:new,declare/2.

What's new:

  • added metric real arity to invalid_metric_arity error tuple;
  • :value returns undefined for unknown label set;
  • :set,reset,value raise unknown_metric|invalid_metric_arity;
  • :observe,observe_duration,track_inprogress raise unknown_metric|invalid_metric_arity;
  • :d functions raise unknown_metric|invalid_metric_arity before gen_server:cast;
  • :new,declare/1 accept registry key;
  • prometheus_registry:register_collector(s),deregister_collector/1;
  • prometheus_registry:collector_registeredp/1;
  • gauge:set accepts undefined which is rendered as NaN;
  • new error messages;
  • track_inprogress/observe_duration raise invalid_value error when Fun is not a function;
  • gauge (d)inc/(d)dec;
  • gauge:set_duration;
  • :remove - can remove series for a given label set;
  • untyped metric support;
  • erlang_vm_system_info_collector;
  • new time measurement system #32;
  • gen_server:call support with custom timeout #33;
  • erlang_vm_statistics_garbage_collection_bytes_reclaimed metric;
  • mnesia collector.

Other

  • rebar3 updated;
  • coveralls integration;
  • tests, refactors;
  • docs.

3.0.0-rc1

19 Sep 09:39
Compare
Choose a tag to compare
3.0.0-rc1 Pre-release
Pre-release

Breaking Changes:

  • invalid_metric_arity tuple changed. Added metric real arity to invalid_metric_arity error tuple;
  • fix histogram,summary:observe_duration arguments order (Registry now goes first);
  • changed collect_mf/3,2 args order;
  • default collectors env key changed to 'collectors';
  • default instrumenters env key changed to 'instrumenters';
  • prometheus_buckets removed deprecations
    generate_linear/3,
    generate_exponential/3;
  • prometheus_histogram: removed deprecated bounds config support;
  • tweak histogram_invalid_buckets error tuple. It always has three elements now;
  • prometheus_histogram:*_buckets functions are private.

Deprecations:

  • deprecate prometheus_collector:register/deregister;
  • deprecate metric:new,declare/2.

What's new:

  • added metric real arity to invalid_metric_arity error tuple;
  • :value returns undefined for unknown label set;
  • :set,reset,value raise unknown_metric|invalid_metric_arity;
  • :observe,observe_duration,track_inprogress raise unknown_metric|invalid_metric_arity;
  • :d functions raise unknown_metric|invalid_metric_arity before gen_server:cast;
  • :new,declare/1 accept registry key;
  • prometheus_registry:register_collector(s),deregister_collector/1;
  • prometheus_registry:collector_registeredp/1;
  • gauge:set accepts undefined which is rendered as NaN;
  • new error messages;
  • track_inprogress/observe_duration raise invalid_value error when Fun is not a function;
  • gauge (d)inc/(d)dec;
  • gauge:set_duration;
  • :remove - can remove series for a given label set;
  • untyped metric support;
  • erlang_vm_system_info_collector;
  • new time measurement system #32;
  • gen_server:call support with custom timeout #33.

Other

  • rebar3 updated;
  • coveralls integration;
  • tests, refactors;
  • docs.

3.0.0-alpha9

12 Sep 11:11
Compare
Choose a tag to compare
3.0.0-alpha9 Pre-release
Pre-release

Breaking Changes:

  • invalid_metric_arity tuple changed. Added metric real arity to invalid_metric_arity error tuple;
  • fix histogram,summary:observe_duration arguments order (Registry now goes first);
  • changed collect_mf/3,2 args order;
  • default collectors env key changed to 'collectors';
  • default instrumenters env key changed to 'instrumenters';
  • prometheus_buckets removed deprecations
    generate_linear/3,
    generate_exponential/3;
  • prometheus_histogram: removed deprecated bounds config support;
  • tweak histogram_invalid_buckets error tuple. It always has three elements now.

Deprecations:

  • deprecate prometheus_collector:register/deregister;
  • deprecate metric:new,declare/2.

What's new:

  • added metric real arity to invalid_metric_arity error tuple;
  • :value returns undefined for unknown label set;
  • :set,reset,value raise unknown_metric|invalid_metric_arity;
  • :observe,observe_duration,track_inprogress raise unknown_metric|invalid_metric_arity;
  • :d functions raise unknown_metric|invalid_metric_arity before gen_server:cast;
  • :new,declare/1 accept registry key;
  • prometheus_registry:register_collector(s),deregister_collector/1;
  • prometheus_registry:collector_registeredp/1;
  • gauge:set accepts undefined which is rendered as NaN;
  • new error messages;
  • track_inprogress/observe_duration raise invalid_value error when Fun is not a function;
  • gauge (d)inc/(d)dec;
  • gauge:set_duration;
  • :remove - can remove series for a given label set;
  • untyped metric support;
  • erlang_vm_system_info_collector;
  • new time measurement system #32;
  • gen_server:call support with custom timeout #33.

Other

  • rebar3 updated;
  • coveralls integration;
  • tests, refactors