httpsprovider package - go.opentelemetry.io/collector/confmap/provider/httpsprovider - Go Packages
HTTPS Provider
| Status | |
|---|---|
| Stability | stable |
| Distributions | core, contrib, k8s |
| Issues |
Overview
The HTTPS Provider takes an HTTPS URI to a file and reads its contents as YAML to provide configuration to the Collector. The validity of the certificate of the HTTPS endpoint is verified when making the connection.
Usage
The scheme for this provider is https. Usage looks like the following passed
to the Collector's command line invocation:
--config=https://example.com/config.yaml
Notes
The provider currently only supports communicating with servers whose
certificate can be verified using the root CA certificates installed in the
system. The process of adding more root CA certificates to the system is
Operating System-dependent. For Linux, please refer to the update-ca-trust
command.