You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a new span processor that sets all currently set attrbutes from trace context baggage on newly started spans. This span procesor should also be added to the tracer provider.
Create new baggage span processor
Add processor to tracer provider
The text was updated successfully, but these errors were encountered:
<!--
Thank you for contributing to the project! 💜
Please see our [OSS process
document](https://github.com/honeycombio/home/blob/main/honeycomb-oss-lifecycle-and-practices.md#)
to get an idea of how we operate.
-->
## Which problem is this PR solving?
- Builds out #16
(still to do, testing / smoke testing on baggage)
## Short description of the changes
- Adds examples of two ways to implement baggage in the
hello-world-flask example app
- Update trace exporter tests to include batch, baggage, console, and
local vis exporters.
- Implements a BaggageSpanProcessor that reads entries stored in Baggage
form the parent contrext and adds the baggage entries to the span on
span start. Appears on subsequent child spans.
## How to verify that this has the expected result
Run the example hello-world-flask application.
For `curl localhost:5000`
Expect `"queen": "bee"` attribute on the `honey` span. Expect ` "queen":
"bee", "honey": "bee"` on the `child` span.
For `curl localhost:5000/ctx`
Expect `"worker": "bees"` attribute on the `bumble` span. Expect `
"worker": "bees", "bumble": "bees", "additional": "bees"` on the `last`
span.
---------
Co-authored-by: JamieDanielson <jamieedanielson@gmail.com>
Co-authored-by: Emily Ashley <emilyashley@users.noreply.github.com>
Co-authored-by: Purvi Kanal <8810222+pkanal@users.noreply.github.com>
Create a new span processor that sets all currently set attrbutes from trace context baggage on newly started spans. This span procesor should also be added to the tracer provider.
The text was updated successfully, but these errors were encountered: