Replies: 2 comments 3 replies
-
Hey @rsommer, yeah I totally agree. 👍 |
Beta Was this translation helpful? Give feedback.
-
The PR is created. We set target as a default label (instead of instance) which can be adjusted with --config.target-label= parameter. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
just a thought about the current label set when using
jobs
for targeting multiple logical databases in a single server. Currently the target's key is exported asinstance
label. As of the prometheus docs,instance
reflectshost:port
of the scraped target - which should(?) be the exporter host and it's port and is set by prometheus itself if not present. Wouldn't something likedatabase
ordbname
be a more suitable label name in this case? The final data in prometheus depends on whetherhonor_labels
istrue
orfalse
otherwise - so with the same exporter config the final data may differ ifinstance
is used as label. There was a comment regarding labels and upcoming changes in v0.13 - maybe this will be addressed with the next release?Beta Was this translation helpful? Give feedback.
All reactions