-
Notifications
You must be signed in to change notification settings - Fork 4.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
Mysql connections count off by millions #4812
Comments
Hi @mrminecart , Connections is an always growing value, see https://docs.oracle.com/cd/E17952_01/mysql-5.0-en/server-status-variables.html#statvar_Connections. You have to graph its derivative to show number of new connections per bucket. Perhaps you are more interested in threads.connected, as it will give you the number of current connections: https://docs.oracle.com/cd/E17952_01/mysql-5.0-en/server-status-variables.html#statvar_Threads_connected |
Ah okay, I was confused by the term "MySQL active connections" in the kibana template |
Uhm, I see, perhaps the example dashboard is not clear enough, what version of metricbeat are you using? |
|
Ok, thanks for the report, I'm flagging this as a bug as I think we need to clarify that graph, either change the title or the metric we show |
I don't find the metric very useful personally, for now I have changed the title. Thanks for being very responsive! |
@exekias Okay if I take this on? As a suggestion, perhaps changing the title of the viz to "MySQL total connections" would make this a bit more clear. |
sure, go ahead! just ping us if you need any help :) |
All other metrics are correct but for some reason, active mysql connections is huge:
We currently (according to the AWS RDS panel) have 5 connections open.
Version
MySQL 5.6.34 (AWS) -> metricbeat 5.4.1 -> logstash 5.4.2
Config
Let me know if there is anything else you need!
Cheers
The text was updated successfully, but these errors were encountered: