-
Hello, The micro services I deploy in my k8s cluster have the spring boot actuators that expose prom metrics + health(live Ness/readiness etc). Scraping Prometheus metric seems straight forward enough(I haven’t tried it yet, but I suspect I will get it done), but is there a way to probe health. The results comes back as a json payload {status: “UP”, key=value}. Or am I going about this the wrong way and I should instrument the micro service to directly inform the otel agent about its status? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You would do this in the collector by setting up the prometheus receiver. See https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/prometheusreceiver for reference. |
Beta Was this translation helpful? Give feedback.
You would do this in the collector by setting up the prometheus receiver. See https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/prometheusreceiver for reference.