Migrate metrics api from a global to an interface
Open
theme/telemetry
- Dominant language
- Go
- Stars
- 30.1k
- Forks
- 4.6k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 43
Description
Right now we configure and utilize metrics from a global atom. In practice, that means libraries we're using that also emit metrics implicitly use Consul's configuration. This is an anti-pattern. Having an abstraction would give us the ability to plug in different backends from go-metrics. We're unsure yet if this will land in scope for 1.9.
Contributor guide
Assessment
This issue has not been assessed yet.