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 Protocol option for AddOtlpExporter #2316

Open
bunkrur opened this issue Jun 8, 2023 · 1 comment
Open

Add Protocol option for AddOtlpExporter #2316

bunkrur opened this issue Jun 8, 2023 · 1 comment
Assignees
Labels
feature-request New feature requests

Comments

@bunkrur
Copy link

bunkrur commented Jun 8, 2023

Proposal

I'd like to be able to specify the protocol for exporting via OTLP. I believe this can be simply accomplished by adding an option to the exporter with an option:

options.Protocol = (metricSinkConfiguration.OpenTelemetryCollector.CollectorProtocol.StartsWith("https")) ? OtlpExporterProtocol.HttpProtobuf : OtlpExporterProtocol.Grpc

Component

Scraper

Contact Details

[email protected]

@bunkrur
Copy link
Author

bunkrur commented Jun 13, 2023

#2321

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature requests
Projects
Status: Proposed
Development

No branches or pull requests

2 participants