httpprovider

package module
v1.31.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2025 License: Apache-2.0 Imports: 2 Imported by: 25

README

HTTP Provider

Status
Stability stable
Distributions core, contrib, k8s
Issues Open issues Closed issues

Overview

The HTTP Provider takes an HTTP URI to a file and reads its contents as YAML to provide configuration to the Collector.

For HTTPS endpoints, please see the HTTPS provider.

Usage

The scheme for this provider is http. Usage looks like the following passed to the Collector's command line invocation:

--config=http://example.com/config.yaml

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 http server.

This Provider supports "http" scheme.

One example for HTTP URI is: http://localhost:3333/getConfig

Types

This section is empty.

Jump to

Keyboard shortcuts

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