deadtrickster / prometheus.erl

Prometheus.io client in Erlang
MIT License
341 stars 117 forks source link

Missing documented prometheus_buckets functions #162

Open eproxus opened 8 months ago

eproxus commented 8 months ago

prometheus_buckets documents some useful functions (exponential/3, linear/3 etc.) that are not available because they are only exported when TEST is defined: https://github.com/deadtrickster/prometheus.erl/blob/master/src/prometheus_buckets.erl#L11-L15

That makes them impossible to use in production when setting up metrics.