Releases: prometheus-erl/prometheus.erl
Releases · prometheus-erl/prometheus.erl
v3.3.0
- 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
Reorganize dependencies. Prod and develop profiles are now dependency-free.
Can be used an elixir dependency
v3.2.2 bump to 3.2.2
prometheus_registry:exists/1
v3.2.1 add prometheus_registry:exists/1 and bump to 3.2.1
Very minor fixes
update doc and bump to 3.1.1 add extatus and beam-dashboards to the readme
v3.1.0
New:
3.0.1
Bug-fixes
- windows build bug fix (#40).
Optimizations
- workaround ets locking using schdulers pinning (#43);
- counter benchmarks.
Documentation
- remove obsolete files, formatting (#41).
3.0.0
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
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
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