-
Notifications
You must be signed in to change notification settings - Fork 332
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
feat: adds runtime_metrics #3127
feat: adds runtime_metrics #3127
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #3127 +/- ##
==========================================
- Coverage 85.52% 85.04% -0.48%
==========================================
Files 818 819 +1
Lines 133850 134003 +153
==========================================
- Hits 114474 113964 -510
- Misses 19376 20039 +663 |
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.
Others LGTM
We need to make sure this table is only available in |
And you might want to include a timestamp column for this table although it's always current timestamp. |
Because it's always current timestamp, so I think it's not necessary. |
Good catch! Let me add a check. |
Wait, I still think a timestamp column can be helpful for:
|
The second one convinced me. I'll add the |
@sunng87 Added the |
I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
Adds
runtime_metrics
virtual table toinformation_schema
, which can retrieve the runtime metrics by SQL, for example:TODO:
node
andnode_type
for cluster version.Checklist
Refer to a related PR or issue link (optional)
#2931