-
Notifications
You must be signed in to change notification settings - Fork 812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WARNING | dd.collector | aggregator(aggregator.py:336) | Metric postgresql.commits has an interval of 0. Not flushing. #1211
Comments
Thanks for the feedback @ssbarnea . However, if you don't need relation specific metrics (e.g. for a particular table) you shouldn't have to specify different instances to different tables. By setting up just one instance you'll get the same exact metrics as if you were setting up an instance for each one of your database as we'll be querying "pg_stat_database" that will return metrics for all your database. (See: https://github.com/DataDog/dd-agent/blob/5.0.5/checks.d/postgres.py#L24-L28 ) So you should get rid of your last 2 instances in your postgres.yaml file and these warnings should go away and your metrics should get the proper values. I agree that this behavior is not really clear and should be improved. |
Adding this to triage for 5.3.0 release. |
I need separate connections because I am counting the number of database connections for each of these databases. I do different limits for each of these databases and I need to know if I am running out of them. |
@ssbarnea |
For some unclear reason datadog-agent is filling my logs with WARNING messages like these:
The postgresql configuration is as simple as it can be:
Agent is version 5.0.5
The text was updated successfully, but these errors were encountered: