You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can observe following error stacktrace in datadog-agent-clusterchecks container:
2023-12-27 10:56:14 UTC | CORE | ERROR | (pkg/collector/python/datadog_agent.go:129 in LogMessage) | postgres:8f8c6091ed5a240d | (utils.py:327) | [kube_service:datadog-cloudsql-proxy,env:demo,service:postgres,kube_namespace:datadog,cluster_name:***, kube_cluster_name:***,server:datadog-cloudsql-proxy,port:5432,db:postgres,dd.internal.resource:database_instance:gcpsql-01,job:database-metadata] Job loop crash
Traceback (most recent call last):
File "/opt/datadog-agent/embedded/lib/python3.9/site-packages/datadog_checks/base/utils/db/utils.py", line 305, in _job_loop
self._run_job_rate_limited()
File "/opt/datadog-agent/embedded/lib/python3.9/site-packages/datadog_checks/base/utils/db/utils.py", line 344, in _run_job_rate_limited
self._run_job_traced()
File "/opt/datadog-agent/embedded/lib/python3.9/site-packages/datadog_checks/base/utils/db/utils.py", line 350, in _run_job_traced
return self.run_job()
File "/opt/datadog-agent/embedded/lib/python3.9/site-packages/datadog_checks/postgres/metadata.py", line 216, in run_job
self.report_postgres_metadata()
File "/opt/datadog-agent/embedded/lib/python3.9/site-packages/datadog_checks/base/utils/tracking.py", line 71, in wrapper
result = function(self, *args, **kwargs)
File "/opt/datadog-agent/embedded/lib/python3.9/site-packages/datadog_checks/postgres/metadata.py", line 242, in report_postgres_metadata
metadata = self._collect_schema_info()
File "/opt/datadog-agent/embedded/lib/python3.9/site-packages/datadog_checks/postgres/metadata.py", line 274, in _collect_schema_info
metadata.append(self._collect_metadata_for_database(database))
File "/opt/datadog-agent/embedded/lib/python3.9/site-packages/datadog_checks/postgres/metadata.py", line 461, in _collect_metadata_for_database
tables_info = self._query_table_information_for_schema(cursor, schema['id'], dbname)
File "/opt/datadog-agent/embedded/lib/python3.9/site-packages/datadog_checks/postgres/metadata.py", line 396, in _query_table_information_for_schema
tables_info = self._get_table_info(cursor, dbname, schema_id)
File "/opt/datadog-agent/embedded/lib/python3.9/site-packages/datadog_checks/postgres/metadata.py", line 324, in _get_table_info
table_info = self._filter_tables_with_no_relation_metrics(dbname, table_info)
File "/opt/datadog-agent/embedded/lib/python3.9/site-packages/datadog_checks/postgres/metadata.py", line 338, in _filter_tables_with_no_relation_metrics
if table['name'] in cache[dbname].keys():
KeyError: 'db01'
Describe the results you received:
Schema(BETA) tab in APM DB Monitoring page still shows empty.
Describe the results you expected:
Schema information collected on APM DB monitoring page
The text was updated successfully, but these errors were encountered:
Output of the info page
Additional environment details (Operating System, Cloud provider, etc):
GCP CloudSQL Postgres
DD running on GKE autopilot, deployed with Helm
PGSQL 14
Datadog connection via CloudSQL Proxy
Steps to reproduce the issue:
Add into config
datadog-agent-clusterchecks
container:Describe the results you received:
Schema(BETA) tab in APM DB Monitoring page still shows empty.
Describe the results you expected:
Schema information collected on APM DB monitoring page
The text was updated successfully, but these errors were encountered: