Open rfratto opened 5 months ago
This issue has not had any activity in the past 30 days, so the needs-attention
label has been added to it.
If the opened issue is a bug, check to see if a newer release fixed your issue. If it is no longer relevant, please feel free to close this issue.
The needs-attention
label signals to maintainers that something has fallen through the cracks. No action is needed by you; your issue will be kept open and you do not have to respond to this comment. The label will be removed the next time this job runs if there is new activity.
Thank you for your contributions!
Request
The
prometheus.scrape
component adds two default labels to every metric:instance
(the address of the target) andjob
(a descriptor for the thing being scraped, which defaults to the Alloy component ID).Similar components (at least
loki.source.file
) do not have the same set of default labels.We should:
Use case
Aligning expectations between usages of loki.source.file/prometheus.scrape/pyroscope.scrape.