yamlprovider

package module
v1.48.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2025 License: Apache-2.0 Imports: 4 Imported by: 40

README

YAML Provider

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

Overview

The YAML Provider takes a literal YAML string as Collector configuration.

Usage

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

--config="yaml:exporters::otlphttp::sending_queue::batch::flush_timeout: 2s"

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 allows to provide yaml bytes.

This Provider supports "yaml" scheme, and can be called with a "uri" that follows:

bytes-uri = "yaml:" yaml-bytes

Examples: `yaml:exporters::otlphttp::sending_queue::batch::flush_timeout: 2s` `yaml:exporters::otlphttp/foo::sending_queue::batch::flush_timeout: 2s`

Types

This section is empty.

Jump to

Keyboard shortcuts

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