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

chore: fix handling of metrics with created suffix #30698

Conversation

jmichalek132
Copy link
Contributor

Description:
As discussed in the OTEL Prometheus working group, to fix this case we check If the metricfamily (which we get from the metadata) name + _created == the series name match. Then we treat it as created timestamp.
Link to tracking Issue: #30309

Testing: Reproduced based on the detailed provided in the issue, added a test case covering the case.

Documentation:

@jmichalek132
Copy link
Contributor Author

Hmm this broke one of the existing unit tests, I'll look into why tomorrow.

Copy link

linux-foundation-easycla bot commented Jan 27, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: jmichalek132 / name: Juraj Michálek (d5f034c)

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

Successfully merging this pull request may close these issues.

3 participants