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
The text was updated successfully, but these errors were encountered:
waynewaynetsai
changed the title
Ops-Agent Repeatedly Logging into PostgreSQL container
Ops-Agent Repeatedly Logging into PostgreSQL container, generating a large amount of logs
Feb 7, 2024
Describe the bug
I have installed the ops-agent(Version: 2.46.1) on my GCE instance with the following primary configuration:
I followed the rest of the setup according to the official documentation: Configuring the Ops Agent for PostgreSQL.
After starting the service, I noticed that the ops-agent repeatedly logging into the PostgreSQL database container.
Is this behavior normal? Or could it potentially exhaust the database's connections and other related resources?
If it's problematic, how can I stop this behavior?
(P.S. I have already set collection_interval: 30s).
To Reproduce
Steps to reproduce the behavior:
sudo service google-cloud-ops-agent restart
Expected behavior
It will not log in indefinitely and generate a large amount of logs, occupying a significant amount of log space.
It should only log in once.
Environment (please complete the following information):
Other
The text was updated successfully, but these errors were encountered: