Documentation ¶
Overview ¶
Package logging provides an otelcol.exporter.logging component.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{ Verbosity: configtelemetry.LevelNormal, SamplingInitial: 2, SamplingThereafter: 500, }
DefaultArguments holds default values for Arguments.
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct { Verbosity configtelemetry.Level `river:"verbosity,attr,optional"` SamplingInitial int `river:"sampling_initial,attr,optional"` SamplingThereafter int `river:"sampling_thereafter,attr,optional"` }
Arguments configures the otelcol.exporter.logging component.
func (Arguments) Convert ¶
func (args Arguments) Convert() (otelcomponent.Config, error)
Convert implements exporter.Arguments.
func (Arguments) Exporters ¶
func (args Arguments) Exporters() map[otelcomponent.DataType]map[otelcomponent.ID]otelcomponent.Component
Exporters implements exporter.Arguments.
func (Arguments) Extensions ¶
func (args Arguments) Extensions() map[otelcomponent.ID]otelextension.Extension
Extensions implements exporter.Arguments.
func (*Arguments) SetToDefault ¶ added in v0.35.0
func (args *Arguments) SetToDefault()
SetToDefault implements river.Defaulter.
Click to show internal directories.
Click to hide internal directories.