Skip to content

Would it be helpful to make the metric name optional? #1605

Answered by salehabbas
salehabbas asked this question in Ideas
Discussion options

You must be logged in to vote

Thanks for your prompt answer, @tomkerkhove. Please find my thoughts below.

That's an interesting idea

I got the idea from the Prometheus CloudWatch exporter as I am using it and I like how the metrics are named automatically as I had explained.

If we support this, I think the pattern should be configurable where tokens can be used to define what goes where. For example, I don't think everyone wants to have azure_ as a prefix

That makes sense! I believe it will be fine to have azure_ as a prefix but totally makes sense to make it configurable in case users wants to drop that prefix.

In terms of the short name, that is something you'd expect that we define then or not?

Exactly! Those…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@tomkerkhove
Comment options

@tomkerkhove
Comment options

@salehabbas
Comment options

Answer selected by tomkerkhove
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants