-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Support Usage Mode in new Trace Explorer to make it easier to track Span Consumption #89266
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
Comments
Assigning to @getsentry/support for routing ⏲️ |
Routing to @getsentry/product-owners-performance for triage ⏲️ |
Hi @ankit-prajapati-26 - the Explore->Traces UX you are using is currently available to early adopters only and it shows extrapolated metrics for your spans that account for client side sampling. Please see these docs The stats page is the source of truth for tracking what data you are sending us and being charged for In the future we plan to allow a setting to turn off extrapolation so you can use use the Trace Explorer to unextrapolated metrics - but we're likely a few months away from that |
Your assistance will be appreciated. |
Hi - If product is a project then you can group the count of spans by project, if it's a custom attribute you need to ensure its attached to all your spans and then you can group the count of spans by that attribute |
@ankit-prajapati-26 just following up regarding your other question:
We do not currently use You should be able to filter these out with beforeSendTransaction: event => {
event.spans = event?.spans?.filter((span) => {
const skippedOps = [
'mark',
'measure',
'ui.long-animation-frame'
];
return !skippedOps.includes(`${span.op}`);
});
return event;
} Let us know if @Dhrumil-Sentry and my help has unblocked you 👏 |
@Dhrumil-Sentry @bcoe Why this numbers are different ? how can I show the actual span usage in custom dashboard and how can I use the same in setting up alerts ? |
Hi, As I mentioned in my previous reply #89266 (comment) the Explore->Traces UX shows aggregates that are extrapolated based on your sampling rates. The only workaround right now would be to create alerts based on extrapolated volumes - The extrapolated aggregations are a true representation of your tracing traffic There is no way to turn off extrapolation today and do what you want which is mainly quota volume tracking - This is something in our backlog that we plan to enable in the future |
Uh oh!
There was an error while loading. Please reload this page.
Environment
SaaS (https://sentry.io/)
What are you trying to accomplish?
I have following two questions
Need clarity on span calculation and how is counted for costing
I am trying to evaluate the overall span usage by different category and operation for specific time period,
Here I am checking for the last 30 days.
As you can see on the traces pages over overall span count look going >9M (by doing sum of all span categories) while when I see it on the Stats dashboard it shows Span usage as 3.5M.
I don't understand how span is calculated here, which span are getting calculated in costing.
As you can see there are multiple span are getting created with
mark
,measure
,ui.long-animation-frame
Is this getting used in any metric evaluation of insights and can I discard this withtracingSampler
to save a span usage ?How are you getting stuck?
Yes, We are planning to introduce Tracing and Performance monitoring on all product lines, but we are not able to calculate the total costing and usage due to this discrepancy
Where in the product are you?
Performance
Link
No response
DSN
No response
Version
No response
The text was updated successfully, but these errors were encountered: