^^ I'm running into an error after enabling performance metrics for mariadb 10.3 ^^
Description
I'm running MariaDB on RHEL 8 - mysql Ver 15.1 Distrib 10.3.39-MariaDB, for Linux (x86_64) using readline 5.1
In my newrelic-mysql.yml file, I added ENABLE_QUERY_MONITORING: true, and added performance_schema=ON to my.cnf and restarted service newrelic-infra restart
When I run:
sudo /usr/bin/newrelic-infra -dry_run -integration_config_path /etc/newrelic-infra/integrations.d/mysql-config.yml
I get these errors (amongst other output):
time="2025-10-13T09:17:23+02:00" level=error msg="integration log" component=integration-errors env=production fields.level=error fields.msg="Error collecting blocking session metrics: Error 1146 (42S02): Table 'performance_schema.data_lock_waits' doesn't exist" integration_name=nri-mysql role=write-replica runner_uid=848a7516b8
time="2025-10-13T09:17:23+02:00" level=error msg="integration log" component=integration-errors env=production fields.level=error fields.msg="Failed to collect slow query metrics: Error 1054 (42S22): Unknown column 'SUM_CPU_TIME' in 'field list'" integration_name=nri-mysql role=write-replica runner_uid=848a7516b8
In my New Relic web portal, I'm not seeing anything related to the performance_schema, though I do see other info, e.g. innodb metrics.
Expected Behavior
I was hoping that the nri-mysql plugin would be able to monitor mariadb as well.
Provide any other relevant log data.
TIP: Scrub logs and diagnostic information for sensitive information
Steps to Reproduce
Please be as specific as possible.
TIP: Link a sample application that demonstrates the issue.
Your Environment
New Relic Infrastructure Agent version: 1.69.0, GoVersion: go1.25.0, GitCommit: c0d0eeaf5be332ed9c3895fd3e1813b0ae831af1, BuildDate: 2025-09-29T11:27:07Z
For Maintainers Only or Hero Triaging this bug
Suggested Priority (P1,P2,P3,P4,P5):
Suggested T-Shirt size (S, M, L, XL, Unknown):
^^ I'm running into an error after enabling performance metrics for mariadb 10.3 ^^
Description
I'm running MariaDB on RHEL 8 - mysql Ver 15.1 Distrib 10.3.39-MariaDB, for Linux (x86_64) using readline 5.1
In my newrelic-mysql.yml file, I added ENABLE_QUERY_MONITORING: true, and added
performance_schema=ONto my.cnf and restartedservice newrelic-infra restartWhen I run:
I get these errors (amongst other output):
In my New Relic web portal, I'm not seeing anything related to the performance_schema, though I do see other info, e.g. innodb metrics.
Expected Behavior
I was hoping that the nri-mysql plugin would be able to monitor mariadb as well.
Troubleshooting or NR Diag results
Provide any other relevant log data.
TIP: Scrub logs and diagnostic information for sensitive information
Steps to Reproduce
Please be as specific as possible.
TIP: Link a sample application that demonstrates the issue.
Your Environment
New Relic Infrastructure Agent version: 1.69.0, GoVersion: go1.25.0, GitCommit: c0d0eeaf5be332ed9c3895fd3e1813b0ae831af1, BuildDate: 2025-09-29T11:27:07Z
For Maintainers Only or Hero Triaging this bug
Suggested Priority (P1,P2,P3,P4,P5):
Suggested T-Shirt size (S, M, L, XL, Unknown):