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

feat(spans): extract cache size and cache hit in indexed spans #3367

Merged
merged 9 commits into from
Apr 3, 2024

Conversation

DominikB2014
Copy link
Contributor

@DominikB2014 DominikB2014 commented Apr 2, 2024

Work for getsentry/sentry#68118

This PR adds

  1. cache.hit tag for indexed cached spans (I believe we only support string values here, so i converted to string, please lmk otherwise!)
  2. cache.item_size measurement for indexed cached spans

#skip-changelog

Copy link
Member

@jjbayer jjbayer left a comment

Choose a reason for hiding this comment

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

LGTM, please see comments before merging.

relay-event-schema/src/protocol/span.rs Outdated Show resolved Hide resolved
relay-event-schema/src/protocol/span.rs Show resolved Hide resolved
DominikB2014 and others added 5 commits April 3, 2024 09:34
Co-authored-by: Joris Bayer <joris.bayer@sentry.io>
Co-authored-by: Joris Bayer <joris.bayer@sentry.io>
Co-authored-by: Iker Barriocanal <32816711+iker-barriocanal@users.noreply.github.com>
…sentry/relay into DominikB2014/extract-cache-span-tags
@@ -231,10 +231,18 @@ pub struct SpanData {
#[metastructure(field = "resource.render_blocking_status")]
pub resource_render_blocking_status: Annotated<Value>,

/// Name of the database host.
/// Name of the web server host.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was just an incorrect comment, I updated to reflect the value better

@DominikB2014 DominikB2014 enabled auto-merge (squash) April 3, 2024 15:58
@DominikB2014 DominikB2014 merged commit 72918c1 into master Apr 3, 2024
20 of 21 checks passed
@DominikB2014 DominikB2014 deleted the DominikB2014/extract-cache-span-tags branch April 3, 2024 16:23
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