Skip to content

Remove throttled logger that logs unsupported metric types from prometheus backend.#3909

Closed
zmagg wants to merge 1 commit intovitessio:masterfrom
tinyspeck:prom-unsupport-metrics-removelog
Closed

Remove throttled logger that logs unsupported metric types from prometheus backend.#3909
zmagg wants to merge 1 commit intovitessio:masterfrom
tinyspeck:prom-unsupport-metrics-removelog

Conversation

@zmagg
Copy link
Copy Markdown
Contributor

@zmagg zmagg commented May 9, 2018

Remove the throttled logger that logs unsupported metric types from the prometheus backend.

These metrics are all intentionally unsupported for now, and if we want to export them later they'll be straightforward to find. This PR removes some unnecessary log spam.

prometheusbackend.go

Signed-off-by: Maggie Zhou <mzhou@slack-corp.com>
@zmagg zmagg force-pushed the prom-unsupport-metrics-removelog branch from 41e4c2b to e6ceaa4 Compare May 9, 2018 20:03
@zmagg
Copy link
Copy Markdown
Contributor Author

zmagg commented May 9, 2018

/cc @demmer

@demmer
Copy link
Copy Markdown
Member

demmer commented May 9, 2018

I think #3901 solves this in a slightly different way -- I also removed the spammy logger but after discussions with @michael-berlin we actually made it a fatal log if any unsupported metric types are registered.

This way we will more proactively catch missing implementations.

@demmer demmer closed this May 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants