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

add some prometheus metrics? #725

Open
volodymyrss opened this issue Jan 4, 2025 · 1 comment
Open

add some prometheus metrics? #725

volodymyrss opened this issue Jan 4, 2025 · 1 comment
Assignees

Comments

@volodymyrss
Copy link
Member

Would be great to add some metrics, also to bot, and nb2workflow. grafana already shows what is collected.

It would be crucial in current stage of operations, when we need to keep many things under control, but not put as much effort in ops.

It's quite straightforward, just an endpoint which returns specially formatted response. And then a dedicated k8s svc with an annotation.

I will add dashboards, and @burnout87 could already access the prod one - one needs UNIGE account to access VPN. We could also make a forward from something like astro.unige.ch/mmoda/grafana (issue)
In staging @dsavchenko would need to add prometheus stack to make it work, it's very simple.

What do you think @dsavchenko @burnout87 ?

@burnout87
Copy link
Collaborator

Do we expect to return a set of simple text-formatted information ?

As specified in https://prometheus.io/docs/instrumenting/exposition_formats/ , it looks quite straightforward, we just have to agree on the set information we want to provide to Prometeus

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

No branches or pull requests

3 participants