Skip to content
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

Ignore DDL in query time cost metrics #5074

Closed
shenli opened this issue Nov 12, 2017 · 1 comment
Closed

Ignore DDL in query time cost metrics #5074

shenli opened this issue Nov 12, 2017 · 1 comment
Assignees

Comments

@shenli
Copy link
Member

shenli commented Nov 12, 2017

DDL always cost long time. We should ignore it to avoid spike in query time metrics and false alarm.

@shenli shenli added the runtime label Nov 12, 2017
@mccxj
Copy link
Contributor

mccxj commented Nov 13, 2017

Do you mean metrics ‘tidb_server_handle_query_duration_seconds’ ? conn.go#addMetrics use raw sql, can not identify the type of SQL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants