Database query metrics missing after upgrading to 7.75.4
team/database-monitoring-agent
We upgraded our Datadog Helm chart to `v3.170.2`(agent version 7.75.4) earlier this week. After the upgrade we are no longer seeing AWS RDS Postgres database query metrics at the cluster level (using password authentication), but we can see them for individual instances within the cluster.
We do continue to see query metrics from our GCP CloudSQL Postgres databases on the same Helm chart and agent version so this appears to be specific to AWS clusters, or database clusters in general and not individual instances.
We were previously on agent version 7.70.2 which did work. I overrode the agent image tags in the 3.170.2 Helm chart to be `7.70.2` and after that applies I see the query metrics again, which leads me to believe this is an issue with the agent rather than the Helm chart.
The clustercheck containers for 7.75.4 show that postgres checks are healthy despite query metrics not being populated
```
Agent (v7.75.4)
===============
Status date: 2026-02-26 14:55:08.359 UTC (1772117708359)
Agent start: 2026-02-26 14:52:32.512 UTC (1772117552512)
Pid: 1
Go Version: go1.25.7
Python Version: 3.13.11
Build arch: amd64
Agent flavor: agent
FIPS Mode: not available
Log Level: WARN
Paths
=====
Config File: /etc/datadog-agent/datadog.yaml
conf.d: /etc/datadog-agent/conf.d
checks.d: /etc/datadog-agent/checks.d
...
=========
Collector
=========
Running Checks
==============
postgres (23.3.3)
-----------------
Instance ID: postgres:403d774e74b2d48d [OK]
Configuration Source: file:/etc/datadog-agent/conf.d/postgres.yaml[0]
Total Runs: 3
Metric Samples: Last Run: 682, Total: 1,950
Events: Last Run: 0, Total: 0
Database Monitoring Activity Samples: Last Run: 1, Total: 3
Database Monitoring Metadata Samples: Last Run: 2, Total: 3
Database Monitoring Query Metrics: Last Run: 1, Total: 3
Database Monitoring Query Samples: Last Run: 34, Total: 93
Service Checks: Last Run: 1, Total: 3
Average Execution Time : 95ms
Last Execution Date : 2026-02-26 14:55:00.985 UTC (1772117700985)
Last Successful Execution Date : 2026-02-26 14:55:00 UTC (1772117700000)
metadata:
config.source: /etc/datadog-agent/conf.d/postgres.yaml[0]
```
关闭于 2026-02-26 2 条评论