hashicorp / hashicorp/consul

Migrate metrics api from a global to an interface

Open
#8,418 3 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.