Documentation
¶
Overview ¶
Package discovery provides an otelcol.processor.discovery component.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{ OperationType: promsdconsumer.OperationTypeUpsert, PodAssociations: []string{ promsdconsumer.PodAssociationIPLabel, promsdconsumer.PodAssociationOTelIPLabel, promsdconsumer.PodAssociationk8sIPLabel, promsdconsumer.PodAssociationHostnameLabel, promsdconsumer.PodAssociationConnectionIP, }, }
DefaultArguments holds default settings for Arguments.
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct { Targets []discovery.Target `river:"targets,attr"` OperationType string `river:"operation_type,attr,optional"` PodAssociations []string `river:"pod_associations,attr,optional"` // Output configures where to send processed data. Required. Output *otelcol.ConsumerArguments `river:"output,block"` }
Arguments configures the otelcol.processor.discovery component.
func (*Arguments) SetToDefault ¶
func (args *Arguments) SetToDefault()
SetToDefault implements river.Defaulter.
Click to show internal directories.
Click to hide internal directories.