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

OTLP not Jaeger #269

Merged
merged 3 commits into from
Aug 23, 2023
Merged

OTLP not Jaeger #269

merged 3 commits into from
Aug 23, 2023

Conversation

kegsay
Copy link
Member

@kegsay kegsay commented Aug 23, 2023

Replace exporter span format from Jaeger to OTLP as it's more "generic" and thus works with more server-side stuff.

Also add in the option to set HTTP basic auth on the endpoint.

kegsay added 3 commits August 23, 2023 12:52
Jaeger spans can be sent as OTLP so this is mostly semantics for
the collector, which is more flexible if it accepts OTLP traces
rather than jaeger.thrift traces.
@kegsay kegsay added the enhancement New feature or request label Aug 23, 2023
@kegsay kegsay requested a review from DMRobertson August 23, 2023 14:41
Copy link
Contributor

@DMRobertson DMRobertson left a comment

Choose a reason for hiding this comment

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

Seems sane. Let's try it.

@kegsay kegsay merged commit 288bc1b into main Aug 23, 2023
}
isInsecure := parsedOTLPURL.Scheme == "http" // e.g testing and development
if parsedOTLPURL.Path != "" {
return fmt.Errorf("OTLP URL %s cannot contain any path segments", otlpURL)

Choose a reason for hiding this comment

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

why is a path not allowed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants