Open eproxus opened 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
prometheus_buckets
exponential/3
linear/3
TEST
That makes them impossible to use in production when setting up metrics.
prometheus_buckets
documents some useful functions (exponential/3
,linear/3
etc.) that are not available because they are only exported whenTEST
is defined: https://github.com/deadtrickster/prometheus.erl/blob/master/src/prometheus_buckets.erl#L11-L15That makes them impossible to use in production when setting up metrics.