Skip to content
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

Add support for OpenTelemetry #995

Open
wants to merge 74 commits into
base: main
Choose a base branch
from

Conversation

dhoard
Copy link
Collaborator

@dhoard dhoard commented Aug 13, 2024

@fstab please review.

@dhoard dhoard requested a review from fstab August 13, 2024 12:44
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
@zeitlinger
Copy link
Member

@dhoard that's a big pr - can you walk me through it on the next meeting or set up a call?

@dhoard
Copy link
Collaborator Author

dhoard commented Nov 4, 2024

@dhoard that's a big pr - can you walk me through it on the next meeting or set up a call?

Definitely.

ConfigurationException.supplier(
"Missing /openTelemetry configuration"));

String endpoint =
Copy link
Member

Choose a reason for hiding this comment

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

you can configure otel based on env vars only (since 1.3.2) - see https://opentelemetry.io/docs/languages/sdk-configuration/otlp-exporter/

I'm not sure if this already works with this PR.
Maybe it would be an idea to add otel: true or similar to make it obvious that those env vars should be used (since you'd have no otel config in the yaml)

+ " an integer greater than 0")))
.orElse(NO_INTERVAL);

Map<String, String> headers =
Copy link
Member

Choose a reason for hiding this comment

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

would be good to support resource attributes the same way

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