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(insights): use epm instead of spm everywhere in frontend #88452

Conversation

DominikB2014
Copy link
Contributor

@DominikB2014 DominikB2014 commented Apr 1, 2025

spm will not be in eap. Instead epm will be provided because it is more generic. This PR switches everything to epm as it's available in both eap and span metrics

@DominikB2014 DominikB2014 requested review from a team as code owners April 1, 2025 16:31
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Apr 1, 2025
Copy link
Member

@0Calories 0Calories left a comment

Choose a reason for hiding this comment

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

LGTM

@DominikB2014 DominikB2014 merged commit cd854a5 into master Apr 1, 2025
43 checks passed
@DominikB2014 DominikB2014 deleted the dominikbuszowiecki/dain-134-use-epm-instead-of-spm-in-all-modules branch April 1, 2025 18:00
@gggritso
Copy link
Member

gggritso commented Apr 2, 2025

👋🏻 small post-merge question! Since EAP includes other trace items (like logs), do we need to audit all our queries to make sure they filter to just spans somehow, or no?

@DominikB2014
Copy link
Contributor Author

DominikB2014 commented Apr 2, 2025

👋🏻 small post-merge question! Since EAP includes other trace items (like logs), do we need to audit all our queries to make sure they filter to just spans somehow, or no?

@gggritso nope! You still can only query for one type at a time, this will be controlled by the dataset parameter in the events endpoint(dataset=spans, dataset=logs, etc).

I think we'll keep this behaviour, maybe eventually we'll have dataset=any, but I doubt we'll remove dataset=spans,logs, etc

andrewshie-sentry pushed a commit that referenced this pull request Apr 8, 2025
spm will not be in eap. Instead epm will be provided because it is more
generic. This PR switches everything to `epm` as it's available in both
eap and span metrics
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants