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

Refactor DBUser attribute #1245

Closed
wants to merge 1 commit into from
Closed

Refactor DBUser attribute #1245

wants to merge 1 commit into from

Conversation

ektabj
Copy link
Contributor

@ektabj ektabj commented Jul 10, 2024

Description of the issue

Refactor DBUser attribute

Description of changes

Refactor DBUser attribute

License

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Tests

Ran below commands, succeeded without errors.

  • make build

Requirements

Before commit the code, please do the following steps.

  1. Run make fmt and make fmt-sh
  2. Run make lint

@ektabj ektabj requested a review from a team as a code owner July 10, 2024 23:18
@@ -40,7 +44,6 @@ var attributesRenamingForMetric = map[string]string{
attr.AWSRemoteTarget: common.MetricAttributeRemoteResourceIdentifier,
attr.AWSRemoteResourceIdentifier: common.MetricAttributeRemoteResourceIdentifier,
attr.AWSRemoteResourceType: common.MetricAttributeRemoteResourceType,
attr.AWSRemoteDbUser: common.MetricAttributeRemoteDbUser,
Copy link
Collaborator

Choose a reason for hiding this comment

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

attributesRenamingForMetric is created to maintain the list of attributes to be renamed for attributes in EMF logs, so keeping AttributeRemoteDbUser here is ok. But now I see how much confusion it caused from the current naming.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In that case, I'll close this pull request if it's fine with you?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yes. Thank you!

@bjrara
Copy link
Collaborator

bjrara commented Jul 11, 2024

Hi @ektabj I submitted a new PR to refactor the Application Signals attributes. It covers the renaming of RemoteDbUser. PTAL #1248

@ektabj ektabj closed this Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants