percona / pmm

Percona Monitoring and Management: an open source database monitoring, observability and management tool
https://www.percona.com/software/database-tools/percona-monitoring-and-management
GNU Affero General Public License v3.0
621 stars 123 forks source link

MySQL Table Details dashboard showing No Data #1771

Open GenLN opened 1 year ago

GenLN commented 1 year ago

Description

Dashboard showing no data. Hundreds of clients connected to PMM server. Variable "Service Name" not loading any value. Query used for service_name variable is label_values(mysql_info_schema_table_version, service_name)

This raw metric also crash victoriametrics when used in explore. Only queries using "by" works.. for example: label_values(max by(service_name)(mysql_info_schema_table_version), service_name)

Maybe solution is to use some kind of aggregation on the query or simple change metric to "mysql_up" and it should look like: label_values(mysql_up, service_name)

Expected Results

Showing data per service name

Actual Results

No data, empty var Service Name

Version

PMM Server 2.34 > PMM client 2.34

Steps to reproduce

No response

Relevant logs

No response

Code of Conduct

ritbl commented 1 year ago

Hey @GenLN, thanks for reporting. Can you please give more details on your setup and what you monitor. So that we can try to reproduce the behavior you are experiencing. Please provide:

GenLN commented 1 year ago

running in k8s PMM server using helm chart. PMM clients in docker. 250+ instances mysql,mongodb