vipyrsec / dragonfly-mainframe

The mainframe for Dragonfly
https://docs.vipyrsec.com/dragonfly-mainframe/
MIT License
5 stars 2 forks source link

Sentry not showing profiling stats #136

Closed shenanigansd closed 11 months ago

shenanigansd commented 1 year ago

Summary

Sentry has "performance" data but it does not have any "profiling" data. According to their docs, all you need to do is pass in profiles_sample_rate to enable the profiling logging, but we already have that and we're still not receiving any data.

https://github.com/vipyrsec/dragonfly-mainframe/blob/8df32d257b226c52d4287e86326eb3ec9e640cc4/src/mainframe/server.py#L95

Hypotheses

Unclear, because I can't tell if Sentry is not receiving data or receiving invalid data.

Possible solutions

Let's try increasing the sample rate to see if we're just not giving Sentry "enough" samples.

Testing

137 moved the sample percentage from 0.25% to 25%. The next day, Sentry did start displaying some data.

I'm not really sure if that fixed an issue, or if I just didn't have enough samples yet to see the data. I'll leave it where it is for now, and watch the quotas, and see what the incoming data looks like.