beam-telemetry / telemetry_metrics_prometheus_core

Core Prometheus Telemetry.Metrics Reporter package for telemetry_metrics_prometheus
Apache License 2.0
35 stars 30 forks source link

ft: allow specifying `last_value` metric type #68

Open hauleth opened 2 months ago

hauleth commented 2 months ago

This behaviour may be useful for example when you have sum type, but with pre summed value (for example output of :inet.getstats/{1,2}). This reduces need for keeping previous state to be able to compute difference just to recompute sum immediately.

Close #67