How can I correlate health check metrics (<https://signoz.io/blog/health-check-monitoring-with-opent...
s
How can I correlate health check metrics (https://signoz.io/blog/health-check-monitoring-with-opentelemetry/) with services? I can add labels and relabel stuff for prometheus scraped metrics.
s
Can you help me understand what do you mean by "correlate health check metrics with services"
s
metrics, traces and logs can be associated with labels/metadata, for example service_name to connect it to a certain application
for health checks, I don't see how that's possible
I'd like to somehow say that e.g.
Copy code
httpcheck:
    targets:
      - endpoint: <https://www.foobar.tld>
        method: GET
is associated with the application "Foo Bar", so I can create a dashboard that shows me information about that application
s
thanks. that does seem to be what I'm looking for. how would I do this for a specific health check? I expect to have around 50 or so of them
the attributes processor https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/processor/attributesprocessor/README.md has a section in excluding/including, will need to look into that