Open bunkrur opened 1 year ago
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
Scraper
b.unkrur@gmail.com
https://github.com/tomkerkhove/promitor/pull/2321
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
b.unkrur@gmail.com