arenadotio / sentry-ocaml

A work-in-progress OCaml client for Sentry
The Unlicense
26 stars 5 forks source link

Stay within Sentry quotas #20

Closed brendanlong closed 5 years ago

brendanlong commented 5 years ago

https://docs.sentry.io/accounts/quotas/#attributes-limits

We need to make sure events stay below 200 KB, and there's no point to sending attributes that are past the limits either since (best case), the server will remove them anyway.

brendanlong commented 5 years ago

I'm going to close this since after 9075d59a476f1df6eeba7d6d6502310dd354cd40 it's extremely unlikely that any event can be over 200 KB. If someone wants to make a pull request to catch 413 errors and strip out arrays that are too long I'd be happy to review it though.