Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Expose /metrics endpoints for all components deployed on OF #73

Open
riprasad opened this issue Nov 7, 2022 · 0 comments
Open

Expose /metrics endpoints for all components deployed on OF #73

riprasad opened this issue Nov 7, 2022 · 0 comments
Assignees

Comments

@riprasad
Copy link
Member

riprasad commented Nov 7, 2022

Prometheus pulls metrics data from the targets from an http endpoint. To be able to collect metrics:-

  1. Targets must expose /metrics(default) endpoint
  2. Data available at /metrics endpoint must be in the format that prometheus understands

To enable the metrics for a Quarkus application; add micrometer-registry-prometheus dependency in pom.xml to expose metrics by default on q/metrics endpoint.

I am no expert on the UI front, but based on a quick google search express-prom-bundle and prom-client dependencies should help in exposing metrics for react applications in prometheus understable format. (https://blog.carlosnunez.me/post/how-to-sre-ify-your-react-app-with-prometheus/)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants