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

fix(spans): Fix name of cache.hit and cache.key field #4408

Merged
merged 3 commits into from
Dec 18, 2024

Conversation

jjbayer
Copy link
Member

@jjbayer jjbayer commented Dec 18, 2024

Since #4364, cache.hit and cache.key did not serialize into the correct field name.

@DominikB2014
Copy link
Contributor

Should there be some sort of test case that needs to be updated/added?

@jjbayer jjbayer marked this pull request as ready for review December 18, 2024 17:01
@jjbayer jjbayer requested a review from a team as a code owner December 18, 2024 17:01
@jjbayer
Copy link
Member Author

jjbayer commented Dec 18, 2024

Should there be some sort of test case that needs to be updated/added?

Converted one of the tests to a snapshot test to make future regressions more obvious.

Comment on lines +73 to +74
"cache.hit": "false",
"cache.key": "[\"my_key\",\"my_key_2\"]",
Copy link
Member Author

Choose a reason for hiding this comment

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

Without the added metastructure attribute, these entries come out as cache_hit and cache_key.

@jjbayer jjbayer enabled auto-merge (squash) December 18, 2024 19:27
@jjbayer jjbayer merged commit 6150300 into master Dec 18, 2024
23 checks passed
@jjbayer jjbayer deleted the fix/spans-cache-hit-name branch December 18, 2024 19:35
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.

3 participants