-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[BUG] RDS Aurora autodiscovery doesn't work when using Docker labels to configure it #29717
Comments
I think I have a similar issue, but with a little bit more details so maybe it helps. I decided to launch datadog-agent in Docker from my local machine.
But I get this error
Notice this line It seems like it discovers docker bridge IP or something.
And I get this:
Notice this line So it seems like some hostname was found, but incorrect. |
Agent Environment
Version: 7.57.1
Running in an ECS container in EC2.
Describe what happened:
The documentation describes autodiscovery working with Aurora based on AWS tags and that it can be configured using Docker labels.
https://docs.datadoghq.com/database_monitoring/guide/aurora_autodiscovery/?tab=postgres
https://docs.datadoghq.com/containers/docker/integrations/?tab=labels
Doing this results in no errors being reported by the agent, but also it doesn't actually do any autodiscovery and it does not connect to the databases.
Here is my label configuration.
Disabling
managed_authentication
has no effect.Describe what you expected:
I expected to be able to provide the autodiscovery information via Docker labels and that it would discover my tagged AWS Aurora clusters automatically and try to connect to them.
Steps to reproduce the issue:
Follow the documentation.
Additional environment details (Operating System, Cloud provider, etc):
The agent is running inside an ECS container. This works fine for normal monitoring and also works fine for non-autodiscovery integration for database monitoring via Docker labels configuration. i.e. if I manually specify every DB to connect to it works and reports metrics just fine.
The text was updated successfully, but these errors were encountered: