Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As Open Data Hub manager I would like to integrate in our Grafana instance also some logging information provided by OTP, in order to see for example some statistics about the matching between planned and real-time public transportation data #237

Open
rcavaliere opened this issue Jan 24, 2025 · 3 comments

Comments

@rcavaliere
Copy link
Member

rcavaliere commented Jan 24, 2025

@leonardehrenfried please provide here some technical information on how we could integrate information from our OTP instance to populate our Grafana instance, available at https://grafana.testingmachine.eu

@rcavaliere rcavaliere converted this from a draft issue Jan 24, 2025
@rcavaliere rcavaliere assigned alexlanz and unassigned alexlanz Jan 24, 2025
@rcavaliere
Copy link
Member Author

@leonardehrenfried I don't know why, but I can assign this user story to you - but I hope that you can keep track that this is something for you :-)

@leonardehrenfried
Copy link
Contributor

You need to enable the metrics API on OTP but I can do that for you.

The metrics that OTP outputs are in Prometheus format so you need a Prometheus (or Prometheus-compatible) metrics database, which you connect to Grafana.

Then you can configure Prometheus to get the data from OTP every X seconds. Once that is done, it would probably be easiest if you create an account on Grafana for me. Then I can create the dashboard for you.

@leonardehrenfried
Copy link
Contributor

The metrics endpoint has been enabled and you can scrape the metrics here: https://otp.opendatahub.testingmachine.eu/otp/actuators/prometheus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

3 participants