You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Difference in parser behaviour compared to prometheus/common/expfmt #461
As you can see the Go parser groups the samples into two untyped metric families with two samples each whereas the Python parser creates a new metric family for each sample.
I am seeing a similar issue.
The parser in the python client doesn't process/parse timestamps.
Looking at the code/test, this seems to be intentional ?
I needed parsing for some work I am doing locally, so I have a fix for that here
I am happy to push this as a PR if there are no objections. @brian-brazil
Activity
brian-brazil commentedon Sep 7, 2019
That's not the parser inside Prometheus itself. Is there a problem that this is causing you?
asherf commentedon Oct 25, 2019
I am seeing a similar issue.
The parser in the python client doesn't process/parse timestamps.
Looking at the code/test, this seems to be intentional ?
I needed parsing for some work I am doing locally, so I have a fix for that here
I am happy to push this as a PR if there are no objections.
@brian-brazil
brian-brazil commentedon Oct 26, 2019
Since openmetrics support was added, we should be parsing the timestamps.