09a7370572
Instead of registering marker metrics inside of cmd/alertmanager/main.go, register them in types/types.go, encapsulating marker specific logic in its module, not in main.go. In addition it paves the path for removing the usage of the global metric registry in the future, by taking a local metric registerer. Signed-off-by: Max Leonard Inden <IndenML@gmail.com> |
||
---|---|---|
.. | ||
mem.go | ||
mem_test.go |