Uh oh!
There was an error while loading. Please reload this page.
fix: Remove glob syntax from tracePropagationTargets example - #8312
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
lforst
left a comment
There was a problem hiding this comment.
oh didnt realize we had this more often
krystofwoldrich
left a comment
There was a problem hiding this comment.
I think we can update Apple Regex in a follow-up PR.
Lms24
commented
Oct 23, 2023
Sounds good to me, thanks! |
philipphofmann
commented
Oct 23, 2023
The fix also makes sense for Apple. If you provide a string it's string.contains. For regexes you have to pass in instances of |
As discovered by @lforst in #8267 (comment), we showed an incorrect example for
tracePropagationTargetsvalues in the "Usage->Distributed Tracing" page (example). TPT values can only be String.contains matches or regex matches but glob patterns in strings like"https://.*.otherservice.org/.*"are not supported.This PR removes the glob pattern and adds a regex example to show both types of TPT values.
(Adjusted the one for Astro in #8267)
Note: The same value is used in Flutter and iOS docs but I'm not yet sure if these SDKs support globs or not. Asked in Slack for clarification.