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

[receiver/mysql] Fix attribute values mismatch with its definition #9688

Merged

Conversation

dmitryax
Copy link
Member

@dmitryax dmitryax commented May 2, 2022

Some attribute are emitted with values different from what's defined in metadata.yaml. This fix takes metadata.yaml definition as a source of truth and updates the emitted data

@dmitryax dmitryax requested review from a team and djaglowski as code owners May 2, 2022 22:15
@dmitryax
Copy link
Member Author

dmitryax commented May 2, 2022

@djaglowski please let me know if this is the right way to fix it or we should update metadata.yaml instead

Some attribute are emitted with values different from what's defined in metadata.yaml. This fix takes metadata.yaml definition as a source of truth and updates the emitted data
@dmitryax dmitryax force-pushed the fix-mysql-attribute-values branch from e1f2f5f to f83f26f Compare May 2, 2022 22:18
Copy link
Member

@djaglowski djaglowski left a comment

Choose a reason for hiding this comment

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

Although I'd generally prefer to maintain backwards compatibility where possible, it does seem that important context was lost in the initial implementation. There is currently no mechanism to further describe the meaning of the enumerated values, so I think it is important that the names are communicative.

@djaglowski djaglowski merged commit 184067c into open-telemetry:main May 3, 2022
djaglowski pushed a commit to djaglowski/opentelemetry-collector-contrib that referenced this pull request May 10, 2022
…pen-telemetry#9688)

Some attribute are emitted with values different from what's defined in metadata.yaml. This fix takes metadata.yaml definition as a source of truth and updates the emitted data
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.

None yet

3 participants