-
Notifications
You must be signed in to change notification settings - Fork 335
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
system tables for inner metrics #602
Comments
Can you describe it in more detail? |
@azhsmesos Looks like the metrics table in clickhouse https://clickhouse.com/docs/en/operations/system-tables/metrics/ |
This issue requests one or more table in system catalog that contains information about running status. E.g., load, how much memory is used, how many running queries, how many opened fds, etc. It exposes a convenient way to do system analysis and debugging |
I don't know if this has been implemented since I can't find any indication that it has been, but I find it interesting, and I'd like to work on it. I still have some pending PRs, so this is just like an indication of my interest. |
@Lilit0x Are you still interested on this issue? |
Hi @MichaelScofield , yes, I am, but I just got assigned to another issue. |
@Lilit0x Not urgent. Just a friendly ping. Come back to this issue when you have time, thx~ |
Thanks for your enthusiasm! This is not hurry, and we are making some changes related to our internal metrics #1906. Will update this issue when it's unblocked ❤️ |
@waynexia @killme2008 I think some of the features needed by this issue have been implemented in information_schema. Perhaps we can close this issue and open a new issue if there is any ongoing items. |
Yes. We have |
What problem does the new feature solve?
It's good to have a metrics table like the one in Databend or ClickHouse. Users can easily "select" on the metrics table to see db's important running status. With metrics table, we can integrate other visualization tools or dashboards that supports SQL like Grafana, to export some meaningful timeseries data.
What does the feature do?
Adds system tables for inner metrics.
Implementation challenges
metrics
, with schema like theMetricsTable
in Databend. Register it into default catalog like ourScriptsTable
do.render()
method ofPROMETHEUS_HANDLE
, and parse the result (prometheus lines) as table ouput. Refer to the code here in Databend for details.DistTable
, the metrics table does not do distributed query.The text was updated successfully, but these errors were encountered: