-
Notifications
You must be signed in to change notification settings - Fork 805
Open
Description
I'm really pushed to the wall, it's driving me crazy.
Troubleshooting Steps:
- In the
Prometheusbackend, the node is online, andTargetscan be seen.- Upon clicking in, it returns around 2000 data points.
- Adding
scrape_interval: 5m,scrape_timeout: 1minPrometheusconfiguration allows a small portion of data to appear, but the error inmysqld_exporterpersists.
- Service restarts are ineffective, as are server restarts.
mysqld_exporterPrometheusGrafana
/metricsdata can be obtained, tested withcurl http://10.0.0.9:9104/metrics- On the server, it can be obtained.
- On the
mysqld_exporterlocal machine, it can be obtained. - The data volume is normal with around 2000 metrics.
- The response time takes several seconds.
- The
mysqld_exporterservice configuration file.my.cnfis correct.- The same configuration works on other servers.
- Increasing the timeout with
connect_timeout=10is ineffective. - Changing the local address to
host=localhostis ineffective.
- The database account is correct.
- Remote tools test the account with no issues.
- The account has
%privileges as well aslocalprivileges. - Creating a new account with root privileges does not resolve the issue.
- The account password does not contain special characters such as
#.
- The server can
Pingthe client machine, and the firewalls are all disabled. - The port is normal, port number 9104, not occupied.
- The problematic client and the non-problematic client have the same version, both are
go1.21.5.
Metadata
Metadata
Assignees
Labels
No labels