httpsprovider

package module
v0.99.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 2 Imported by: 10

README

What is the httpsprovider?

An implementation of confmap.Provider for HTTPS (httpsprovider) allows OTEL Collector to use the HTTPS protocol to load configuration files stored in web servers.

Expected URI format:

Prerequistes

You need to setup a HTTP server with support to HTTPS. The server must have a certificate that can be validated in the host running the collector using system root certificates.

Configuration

At this moment, this component only support 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.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory added in v0.99.0

func NewFactory() confmap.ProviderFactory

NewFactory returns a factory for a confmap.Provider that reads the configuration from a https server.

This Provider supports "https" scheme. One example of an HTTPS URI is: https://localhost:3333/getConfig

To add extra CA certificates you need to install certificates in the system pool. This procedure is operating system dependent. E.g.: on Linux please refer to the `update-ca-trust` command.

func NewWithSettings deprecated

func NewWithSettings(set confmap.ProviderSettings) confmap.Provider

NewWithSettings returns a new confmap.Provider that reads the configuration from a https server.

This Provider supports "https" scheme. One example of an HTTPS URI is: https://localhost:3333/getConfig

To add extra CA certificates you need to install certificates in the system pool. This procedure is operating system dependent. E.g.: on Linux please refer to the `update-ca-trust` command.

Deprecated: [v0.99.0] Use NewFactory instead.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL