-
Notifications
You must be signed in to change notification settings - Fork 631
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
Extracting span attributes before span creation and passing them to start_span
/start_as_current_span
#430
Comments
@lonewolf3739 |
Yes, my use-case is out-of-process. |
@lonewolf3739 |
I don't find tracestate to be useful here because It is mainly used/targeted for vendor specific trace information. My simple use-case is (Collect 100% traces for sensitive endpoints based on http metadata + Probabilistic sampling for everything else). |
@lonewolf3739 |
This issue was marked stale due to lack of activity. It will be closed in 30 days. |
Closing in favour of #936 |
Re-opening as #936 only covers http instrumentations. |
Need for this: The ability to make sampling decision based on the attributes following semantic conventions.
I would like to customise the sampler and make my sampling decision based on incoming request metadata for web api. The instrumentations now create span with it's name and kind then conditionally populate tags if span is being recorded. If a sampler doesn't receive any metadata about the incoming request/DB call/other then I am being limited to make my decision based on tiny information available which isn't really helpful.
The text was updated successfully, but these errors were encountered: