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): Emit a usage metric for every span seen #3209

Merged
merged 4 commits into from
Mar 5, 2024

Conversation

phacops
Copy link
Contributor

@phacops phacops commented Mar 4, 2024

We've made it so we emit a usage metric for each span we extract a metric for which in turns will be used to emit a processed span outcome.

We'd like to change this to emit a usage metric for every span we see as Relay is still processing those spans even if it's not to store derived data from them. This has some impact for billing.

As we improve the product, we anticipate to store more and more information regarding those spans and the overall cost for the customer will not change.

@phacops phacops requested a review from a team as a code owner March 4, 2024 21:40
@phacops phacops requested a review from mitsuhiko March 4, 2024 21:46
@phacops phacops self-assigned this Mar 4, 2024
Copy link
Contributor

@iker-barriocanal iker-barriocanal left a comment

Choose a reason for hiding this comment

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

nit: could we reword the PR title and description? Outcomes have a specific meaning in Relay. "usage metric" suits better imo.

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.

A

CHANGELOG.md Outdated Show resolved Hide resolved
@phacops phacops changed the title fix(spans): Emit outcome for every span seen fix(spans): Emit a usage metric for every span seen Mar 5, 2024
@phacops phacops enabled auto-merge (squash) March 5, 2024 13:16
@phacops phacops merged commit 521d207 into master Mar 5, 2024
22 checks passed
@phacops phacops deleted the pierre/spans-emit-outcome-for-each-span-seen branch March 5, 2024 14:15
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.

5 participants