-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
infoschema: add metrics_tables that contain all metrics tables definition #14721
Conversation
…tion Signed-off-by: crazycs <crazycs520@gmail.com>
Signed-off-by: crazycs <crazycs520@gmail.com>
infoschema/tables.go
Outdated
@@ -1131,14 +1134,25 @@ var tableInspectionResultCols = []columnInfo{ | |||
{"DETAILS", mysql.TypeVarchar, 256, 0, nil, nil}, | |||
} | |||
|
|||
var tableMetricTablesCols = []columnInfo{ | |||
{"METRIC_NAME", mysql.TypeVarchar, 64, 0, nil, nil}, |
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.
It's better to name this column as TABLE_NAME
.
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.
great,done.
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.
Rest LGTM
Signed-off-by: crazycs <crazycs520@gmail.com>
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.
Rest LGTM
Signed-off-by: crazycs <crazycs520@gmail.com>
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.
Rest LGTM
Co-Authored-By: Lonng <heng@lonng.org>
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
/run-all-tests |
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
/merge |
/run-all-tests |
@crazycs520 merge failed. |
/rebuild |
3 similar comments
/rebuild |
/rebuild |
/rebuild |
/rebuild |
Signed-off-by: crazycs crazycs520@gmail.com
What problem does this PR solve?
information_schema.metrics_tables
that contain all metrics tables definition.comment
column in all metrics tables to explain the metric meaning.What is changed and how it works?
Check List
Tests
Code changes