-
Notifications
You must be signed in to change notification settings - Fork 442
[#6632] improvement(core): Add timestamp information to metrics #6882
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
base: main
Are you sure you want to change the base?
Conversation
Add timestamp information to metrics
Hi @FANNG1 , could you please review this PR when you have time? I’d really appreciate your feedback. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
@FANNG1 Would you like to take an another look? If no another suggestion, I will merge this PR tomorrow. |
@FANNG1 please help to review this PR. |
This PR adds extra metrics name to current guaga metrics like adding |
I'm not so sure about Prometheus metrics, but I think to keep the compatibility is the important thing. Can you please investigate other projects to see how they add timestamp to the metrics? |
@FANNG1 Thanks for the feedback! what we expect ideally is to have a single metric line with explicit timestamps, like:
But if I remember correctly, in the standard |
What changes were proposed in this pull request?
Add timestamp information to metrics
Why are the changes needed?
Fix: #6632
Does this PR introduce any user-facing change?
no
How was this patch tested?
local test.