self-hosted icon indicating copy to clipboard operation
self-hosted copied to clipboard

Add a way to identity spammy users / many events?

Open max-wittig opened this issue 1 year ago • 5 comments

Problem Statement

Hi! We're using Sentry inside our organization with approximately 40 organizations. As we're running this for our company, inside the company people sometimes over-use it.

While we have rate-limits in place, sometimes it might be better to be able to analyze what could be the cause of the high CPU and many events. Sadly the admin dashboard for incoming events can only be seen per organization.

Is there a way to visualize this already within Sentry or do you recommend an existing solution like flower?

Thanks for any help!

Solution Brainstorm

No response

max-wittig avatar Jun 03 '24 13:06 max-wittig

If you go to the Stats -> Usage section while logged in as an admin, it should break things down by project. We don't offer analytics beyond that, though you can of course go into the Projects view for the highest volume projects to get more detailed information.

azaslavsky avatar Jun 04 '24 18:06 azaslavsky

@azaslavsky Thanks for the response! Sadly this is only on a per organization view, however we have over 40.

max-wittig avatar Jun 05 '24 09:06 max-wittig

Just to be clear on terminology: organizations are the top-level entities you can choose from when you click the drop-down in the top right, followed by Switch Organizations. You are saying you have 40 of those? Or do you mean you have 40 projects in a single organization? Because there is definitely a way to break things down per organization and per project within that organization.

azaslavsky avatar Jun 06 '24 21:06 azaslavsky

@azaslavsky (I'm in the same team as Max) we mean we have 40-something organizations. We offer this internally to multiple disjoint teams, so they can manage their own projects without interference from other teams. But this currently makes it so that admins have limited visibility on actual stats, we can only depend on external data.

dlouzan avatar Jun 07 '24 08:06 dlouzan

Ah ok, so you're using a multi-org setup of self-hosted. Unfortunately, there's nothing out of the box that can analyze your CPU usage or number of events coming in. Reason is, we assume that customers on SaaS or self-hosted really only care about one organization they are apart of. Which is why we default self-hosted to a single org setup out of the box.

hubertdeng123 avatar Jun 10 '24 23:06 hubertdeng123

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

getsantry[bot] avatar Jul 02 '24 07:07 getsantry[bot]