Skip to content

feat(bottlecap): add Distributed Tracing#423

Merged
duncanista merged 12 commits intojordan.gonzalez/bottlecap/universal-instrumentationfrom
jordan.gonzalez/bottlecap/use-composite-propagator
Oct 23, 2024
Merged

feat(bottlecap): add Distributed Tracing#423
duncanista merged 12 commits intojordan.gonzalez/bottlecap/universal-instrumentationfrom
jordan.gonzalez/bottlecap/use-composite-propagator

Conversation

@duncanista
Copy link
Copy Markdown
Contributor

@duncanista duncanista commented Oct 22, 2024

What?

Adds correct integration for Distributed Tracing

How?

By using the DatadogCompositePropagator, we can extract span context to be used for the current invocation.

Testing

Screenshot 2024-10-22 at 5 26 45 PM

Notes

@duncanista duncanista requested a review from a team as a code owner October 22, 2024 21:14
@duncanista duncanista merged commit 891d7b2 into jordan.gonzalez/bottlecap/universal-instrumentation Oct 23, 2024
@duncanista duncanista deleted the jordan.gonzalez/bottlecap/use-composite-propagator branch October 23, 2024 17:43
alexgallotta pushed a commit that referenced this pull request Nov 4, 2024
* headers `HeaderMap` to `HashMap`

* add `Send` to propagators traits

* add `serde_json::Value` extractor + injector

* add `get_carrier` to `Trigger` trait

* add `get_carrier` method to current inferred spans

* update `span_inferrer.rs` to use `get_carrier` methods for distributed tracing

* add `headers_to_map` function

* reparent spans

I suspect there might be something wrong here, the code in Go is quite convoluted

* make some variables public

* fix to return early on `extract_span_context`

* fix how 128 bit is handled

also updated some variable names

* update comment
duncanista added a commit that referenced this pull request Nov 15, 2024
* headers `HeaderMap` to `HashMap`

* add `Send` to propagators traits

* add `serde_json::Value` extractor + injector

* add `get_carrier` to `Trigger` trait

* add `get_carrier` method to current inferred spans

* update `span_inferrer.rs` to use `get_carrier` methods for distributed tracing

* add `headers_to_map` function

* reparent spans

I suspect there might be something wrong here, the code in Go is quite convoluted

* make some variables public

* fix to return early on `extract_span_context`

* fix how 128 bit is handled

also updated some variable names

* update comment
duncanista added a commit that referenced this pull request Nov 19, 2024
* headers `HeaderMap` to `HashMap`

* add `Send` to propagators traits

* add `serde_json::Value` extractor + injector

* add `get_carrier` to `Trigger` trait

* add `get_carrier` method to current inferred spans

* update `span_inferrer.rs` to use `get_carrier` methods for distributed tracing

* add `headers_to_map` function

* reparent spans

I suspect there might be something wrong here, the code in Go is quite convoluted

* make some variables public

* fix to return early on `extract_span_context`

* fix how 128 bit is handled

also updated some variable names

* update comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants