-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
the endpoint address is often specified as host:port instead of a full URL: https://github.com/open-telemetry/opentelemetry-collector/blob/main/exporter/otlpexporter/README.md#getting-started Unfortunately, the url crate would parse 'collector:4317' as an URL with the 'collector' scheme and no host. It also will not recognize 'IP:port'. This adds a layer to URl parsing to recognize those cases, and configure the HTTPS scheme manually
- Loading branch information
Geoffroy Couprie
committed
Nov 17, 2021
1 parent
5cd9cdc
commit c5553bb
Showing
1 changed file
with
34 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters