otlphttpexporter

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const CustomHeadersConfigFeature = "headers"
View Source
const EndpointFieldName = "endpoint"
View Source
const ExporterFieldName = "exporter"

Variables

This section is empty.

Functions

func Register

func Register() bool

Types

type OTLPHTTPBackend

type OTLPHTTPBackend struct {
	Endpoint string `yaml:"endpoint"`
}

func (*OTLPHTTPBackend) ConfigToFormat

func (b *OTLPHTTPBackend) ConfigToFormat(format string, metadata types.Metadata) (string, error)

func (*OTLPHTTPBackend) CreateFeatureConfig

func (b *OTLPHTTPBackend) CreateFeatureConfig() []backend.ConfigFeature

CreateFeatureConfig Not available since this is only supported in YAML configuration

func (*OTLPHTTPBackend) Metadata

func (b *OTLPHTTPBackend) Metadata() interface{}

func (*OTLPHTTPBackend) ParseConfig

func (b *OTLPHTTPBackend) ParseConfig(format string, config string) (retConfig types.Metadata, err error)

func (*OTLPHTTPBackend) ValidateConfiguration

func (b *OTLPHTTPBackend) ValidateConfiguration(config types.Metadata) error

Jump to

Keyboard shortcuts

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