Open MarcAntoine-Arnaud opened 3 years ago
Add a new endpoint to return metrics on the StepFlow Return:
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
GET
/metrics
/metrics?format=json
/metrics?format=prometheus
Fixed by #86
Add a new endpoint to return metrics on the StepFlow Return:
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 metricsGET
/metrics?format=json
-> return the json metricsGET
/metrics?format=prometheus
-> return the prometheus metrics