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

Throughput per second - eps() or epm() #80441

Open
jorgeavilacardenosa opened this issue Nov 8, 2024 · 3 comments
Open

Throughput per second - eps() or epm() #80441

jorgeavilacardenosa opened this issue Nov 8, 2024 · 3 comments

Comments

@jorgeavilacardenosa
Copy link

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

Hi! I’m trying to build a custom dashboard to understand Throughput per second, grouped by endpoint.

I’m using the eps() or epm() functions, but the values I’m getting don’t seem accurate. I’m currently sampling 1% of the events, and even after multiplying by 100, the data still doesn't look right.

I'm currently sending about 40 requests per second to the system, and this is the data I see:

Image

The application that i'm monitoring is a python app with this initialization:

sentry_sdk.init( dsn=SENTRY_DSN, release=SENTRY_RELEASE, traces_sample_rate=0.01, profiles_sample_rate=0.01, environment=ENV, integrations=[ StarletteIntegration( transaction_style="endpoint", failed_request_status_codes={401, *range(500, 599)}, ), FastApiIntegration( transaction_style="endpoint", failed_request_status_codes={401, *range(500, 599)}, ), ], )

What am I doing wrong? Thanks

Expected Result

I'm expecting to see around 30-40 requests per second.

Actual Result

Same issue with the events per minute funciton

Image

Product Area

Dashboards

Link

https://monkeytaps.sentry.io/

DSN

No response

Version

No response

@getsantry
Copy link
Contributor

getsantry bot commented Nov 8, 2024

Assigning to @getsentry/support for routing ⏲️

@getsantry
Copy link
Contributor

getsantry bot commented Nov 8, 2024

Routing to @getsentry/product-owners-dashboards for triage ⏲️

@gggritso
Copy link
Member

gggritso commented Nov 8, 2024

@jorgeavilacardenosa thanks for raising this! We believe it's a bug with formulas involving eps(), we're taking a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants