Skip to content
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

Aurora Discovery should support discovering the default database #31123

Open
wparr-circle opened this issue Nov 15, 2024 · 0 comments · Fixed by #31138
Open

Aurora Discovery should support discovering the default database #31123

wparr-circle opened this issue Nov 15, 2024 · 0 comments · Fixed by #31138

Comments

@wparr-circle
Copy link
Contributor

We found that the Aurora Discovery integration, does not correctly determine the default database from upstream aws api. This is set on instance creation via DBName option on the CreateDBInstance api.

This means it's not possible to correctly configure the postgres integration, where either the default postgres database is not used nor if there are multiple non-standard database names across cloud real estate.

We should support discovering this value whilst discovering cluster endpoints via https://github.com/DataDog/datadog-agent/blob/main/pkg/databasemonitoring/aws/aurora.go, which is returned by AWS API DescribeDBInstances via the same property DBName.

Setting this as a variable for templating such as extra_dbname

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant