Skip to content

Use prometheus imports

Dagur Valberg Johannsson requested to merge github/fork/dagurval/metric into master

Created by: dagurval

Don't re-export prometheus aliased datatypes.

The re-exports were inconsistent with prometheus. For instance, prometheus::IntGauge was reexported as metric::Gauge, while prometheus::Gauge as not exported and works with floats.

We don't plan on replacing prometheus, so to fix this, we just remove this layer of abstraction.

Merge request reports