Skip to content

Conversation

@duncanista
Copy link
Contributor

@duncanista duncanista commented Nov 22, 2024

What?

Fallbacks to Go when any OTEL env var required for Serverless is set

How?

Based on https://docs.datadoghq.com/serverless/aws_lambda/opentelemetry/?tab=python

@duncanista duncanista requested a review from a team as a code owner November 22, 2024 19:19
@duncanista duncanista merged commit 9b4be0f into main Nov 22, 2024
12 checks passed
@duncanista duncanista deleted the jordan.gonzalez/bottlecap/fallback-on-otel branch November 22, 2024 19:27
jail.clear_env();
jail.set_env("DD_EXTENSION_VERSION", "next");
jail.set_env(
"DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_HTTP_ENDPOINT",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's also a complementary DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_GRPC_ENDPOINT we should probably listen for as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its in the config file as fallback too

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.

4 participants