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

Update mysqld-exporter.yml #442

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Update mysqld-exporter.yml #442

wants to merge 2 commits into from

Conversation

lirulei
Copy link

@lirulei lirulei commented Nov 30, 2024

add some rules

@samber
Copy link
Owner

samber commented Nov 30, 2024

Hi @lirulei and thanks for this first contribution.

A preview alert was added for tracking the connection count. Can you explain why you choose

sum by(instance) (mysql_info_schema_processes_by_host) / sum by(instance) (mysql_global_variables_max_connections) * 100 > 80

vs

max_over_time(mysql_global_status_threads_connected[1m]) / mysql_global_variables_max_connections * 100 > 80

?

Also, I moved your work into _data/rules.yml.

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

Successfully merging this pull request may close these issues.

2 participants