Closed jsymons closed 1 year ago
This should be fixed now. I'll get it out in a release in a bit.
For technical context, this is another case of the Prometheus exposition format being basically entirely undocumented. I updated the openmetrics parser with a test/fix for this.
Hello, when trialing out this project I encountered a bug when a job ran that didn't have a value recorded for one of the metrics. Any metrics detailed in the
PUT
after the empty metric would cause the server to throw back a 400 error, the Prometheus pushgateway handles empty metrics without errors.Sample PUT:
Gives the following error back:
Code to reproduce (Python):