-
Notifications
You must be signed in to change notification settings - Fork 464
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
Read MAX_VALUE_LENGTH from client options (#2121) #2171
Read MAX_VALUE_LENGTH from client options (#2121) #2171
Conversation
c60e773
to
34c1a5f
Compare
@antonpirker do you have time to review this? Or someone else from your team? |
Hey @puittenbroek, thanks a lot for this PR! We're currently evaluating internally what the potential impact of this change would be with regards to the ingestion pipeline -- we'll get back to you soon. |
@puittenbroek I ran the pipeline in the meantime -- could you please take a look at the failing workflows? I'll squeeze a review in sometime next week unless Anton beats me to it. We'll also need docs (source) for this where we explicitly warn users that bumping the string limit might result in event payloads getting too big and events getting dropped, but I can take care of writing that. |
The circular import in apidocs is a PITA, because the consts file imports |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have some questions. In general it looks really good!
Great work @puittenbroek ! |
Added docs PR here: getsentry/sentry-docs#7465 |
I just discovered that we already have an option "max_value_length" in the PHP sdk, so I will rename the option to be in line with the other SDK. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Makes sense :) And thanks for the docs PR! pretty swamped at work so didn't have much time to pick this up further. |
No problem @puittenbroek ! |
Hard to jump through some hoops to get the new client options for
max_string_length
to where it was needed.Still kept a fallback in place since I'm unsure if client options is always available/passed a long.
Closes #2121