Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

Associate attached database properly when the database name is resolved #854

Conversation

arbulu89
Copy link
Contributor

@arbulu89 arbulu89 commented Mar 7, 2022

If the database name is not an IP address directly, and it must be resolved, this cannot be done in the server side, as the resolution most probably is different.
In order to fix it, the Database IP address must be discovered and sent from the agent.

This PR includes this auto-detection and adds a new field, DBAddress in the payload.
Later on, the data projection is slightly changed to include this new field and use to associate App and database.

@arbulu89 arbulu89 added the bug Something isn't working label Mar 7, 2022
Copy link
Member

@nelsonkopliku nelsonkopliku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@dottorblaster dottorblaster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

3 participants