Open waynexia opened 2 days ago
[!IMPORTANT]
Review skipped
Auto reviews are disabled on this repository.
Please check the settings in the CodeRabbit UI or the
.coderabbit.yaml
file in this repository. To trigger a single review, invoke the@coderabbitai review
command.You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
When listing metric names from the database, currently we don't have any filter, which means tables without greptime_timestamp
and greptime_value
will also be displayed. These tables do not fit Prometheus rules and will not generate any value in Grafana when queried using PromQL.
It would be better to filter out all tables without greptime_timestamp
and greptime_value
in this API in advance.
I hereby agree to the terms of the GreptimeDB CLA.
Refer to a related PR or issue link (optional)
What's changed and what's your intention?
Filter out internal columns in promql's query. Those columns are valid for SQL query but PromQL requires them to be string.
Checklist