Skip to content

[do not merge] rebase of "Add otel tracing" on top of "Fix TestDaemonProxy integration tests"#46126

Closed
thaJeztah wants to merge 3 commits intomoby:masterfrom
thaJeztah:otel_rebase
Closed

[do not merge] rebase of "Add otel tracing" on top of "Fix TestDaemonProxy integration tests"#46126
thaJeztah wants to merge 3 commits intomoby:masterfrom
thaJeztah:otel_rebase

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

@thaJeztah thaJeztah commented Jul 31, 2023

To see how "bad" it is. I kept the TestDaemonProxy: check proxy settings early commit separate, but moved it after the "Wire up tests to support otel tracing" commit, as it should be squashed into that one.

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

@thaJeztah thaJeztah mentioned this pull request Jul 31, 2023
Comment thread integration/daemon/daemon_test.go Outdated
Comment thread integration/daemon/daemon_test.go Outdated
@thaJeztah thaJeztah force-pushed the otel_rebase branch 2 times, most recently from 2769fee to 9635e2f Compare August 9, 2023 18:35
This uses otel standard environment variables to configure tracing in
the daemon.
It also adds support for propagating trace contexts in the client and
reading those from the API server.

See
https://opentelemetry.io/docs/specs/otel/configuration/sdk-environment-variables/
for details on otel environment variables.

Signed-off-by: Brian Goff <[email protected]>
Integration tests will now configure clients to propagate traces as well
as create spans for all tests.

Some extra changes were needed (or desired for trace propagation) in the
test helpers to pass through tracing spans via context.

Signed-off-by: Brian Goff <[email protected]>
This wires up the integration tests to export spans to a jager instance.
After tests are finished it exports the data out of jaeger and uploads
as an artifact to the action run.

Signed-off-by: Brian Goff <[email protected]>
@thaJeztah thaJeztah closed this Sep 14, 2023
@thaJeztah thaJeztah deleted the otel_rebase branch September 14, 2023 19:04
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