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 a metric endpoint #82

Open
MarcAntoine-Arnaud opened this issue Dec 8, 2020 · 1 comment
Open

add a metric endpoint #82

MarcAntoine-Arnaud opened this issue Dec 8, 2020 · 1 comment

Comments

@MarcAntoine-Arnaud
Copy link
Contributor

Add a new endpoint to return metrics on the StepFlow
Return:

  • number of completed workflows
  • number of job errors status
  • number of queued
  • etc.

It requires to be formatted using the prometheus format.
So the idea is to provide by default the json format, and if mentioned the prometheus format.

GET /metrics -> return the json metrics
GET /metrics?format=json -> return the json metrics
GET /metrics?format=prometheus -> return the prometheus metrics

@nipierre
Copy link
Contributor

nipierre commented Jan 6, 2021

Fixed by #86

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

2 participants