Documentation ¶
Index ¶
- type AttributeAction
- type BatchProcessorConfig
- type Config
- type EndpointConfig
- type ExporterConfig
- type ExtensionsConfig
- type ExtractK8sMetadataConfig
- type FilterProcessorConfig
- type K8sAttributesProcessorConfig
- type LoggingConfig
- type LoggingExporterConfig
- type MemoryLimiterConfig
- type MetricsConfig
- type OTLPExporterConfig
- type OTLPReceiverConfig
- type OTLPServiceConfig
- type PipelineConfig
- type PipelinesConfig
- type PodAssociation
- type PodAssociations
- type ProcessorsConfig
- type ReceiverConfig
- type ReceiverProtocols
- type ResourceProcessorConfig
- type RetryOnFailureConfig
- type SendingQueueConfig
- type TLSConfig
- type TelemetryConfig
- type TraceConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttributeAction ¶
type BatchProcessorConfig ¶
type Config ¶
type Config struct { Receivers ReceiverConfig `yaml:"receivers"` Exporters ExporterConfig `yaml:"exporters"` Processors ProcessorsConfig `yaml:"processors"` Extensions ExtensionsConfig `yaml:"extensions"` Service OTLPServiceConfig `yaml:"service"` }
type EndpointConfig ¶
type EndpointConfig struct {
Endpoint string `yaml:"endpoint,omitempty"`
}
type ExporterConfig ¶
type ExporterConfig struct { OTLP OTLPExporterConfig `yaml:"otlp,omitempty"` OTLPHTTP OTLPExporterConfig `yaml:"otlphttp,omitempty"` Logging LoggingExporterConfig `yaml:"logging,omitempty"` }
type ExtensionsConfig ¶
type ExtensionsConfig struct {
HealthCheck EndpointConfig `yaml:"health_check"`
}
type ExtractK8sMetadataConfig ¶
type ExtractK8sMetadataConfig struct {
Metadata []string `yaml:"metadata"`
}
type FilterProcessorConfig ¶
type FilterProcessorConfig struct {
Traces TraceConfig `yaml:"traces,omitempty"`
}
type K8sAttributesProcessorConfig ¶
type K8sAttributesProcessorConfig struct { AuthType string `yaml:"auth_type"` Passthrough bool `yaml:"passthrough"` Extract ExtractK8sMetadataConfig `yaml:"extract"` PodAssociation []PodAssociations `yaml:"pod_association"` }
type LoggingConfig ¶
type LoggingConfig struct {
Level string `yaml:"level"`
}
type LoggingExporterConfig ¶
type LoggingExporterConfig struct {
Verbosity string `yaml:"verbosity"`
}
type MemoryLimiterConfig ¶
type MetricsConfig ¶
type MetricsConfig struct {
Address string `yaml:"address"`
}
type OTLPExporterConfig ¶
type OTLPExporterConfig struct { Endpoint string `yaml:"endpoint,omitempty"` Headers map[string]string `yaml:"headers,omitempty"` TLS TLSConfig `yaml:"tls,omitempty"` SendingQueue SendingQueueConfig `yaml:"sending_queue,omitempty"` RetryOnFailure RetryOnFailureConfig `yaml:"retry_on_failure,omitempty"` }
type OTLPReceiverConfig ¶
type OTLPReceiverConfig struct {
Protocols ReceiverProtocols `yaml:"protocols,omitempty"`
}
type OTLPServiceConfig ¶
type OTLPServiceConfig struct { Pipelines PipelinesConfig `yaml:"pipelines,omitempty"` Telemetry TelemetryConfig `yaml:"telemetry,omitempty"` Extensions []string `yaml:"extensions,omitempty"` }
type PipelineConfig ¶
type PipelinesConfig ¶
type PipelinesConfig struct { Traces *PipelineConfig `yaml:"traces,omitempty"` Metrics *PipelineConfig `yaml:"metrics,omitempty"` }
type PodAssociation ¶
type PodAssociations ¶
type PodAssociations struct {
Sources []PodAssociation `yaml:"sources"`
}
type ProcessorsConfig ¶
type ProcessorsConfig struct { Batch *BatchProcessorConfig `yaml:"batch,omitempty"` MemoryLimiter *MemoryLimiterConfig `yaml:"memory_limiter,omitempty"` K8sAttributes *K8sAttributesProcessorConfig `yaml:"k8sattributes,omitempty"` Resource *ResourceProcessorConfig `yaml:"resource,omitempty"` Filter *FilterProcessorConfig `yaml:"filter,omitempty"` }
type ReceiverConfig ¶
type ReceiverConfig struct { OpenCensus *EndpointConfig `yaml:"opencensus,omitempty"` OTLP *OTLPReceiverConfig `yaml:"otlp,omitempty"` }
type ReceiverProtocols ¶
type ReceiverProtocols struct { HTTP EndpointConfig `yaml:"http,omitempty"` GRPC EndpointConfig `yaml:"grpc,omitempty"` }
type ResourceProcessorConfig ¶
type ResourceProcessorConfig struct {
Attributes []AttributeAction `yaml:"attributes"`
}
type RetryOnFailureConfig ¶
type SendingQueueConfig ¶
type TelemetryConfig ¶
type TelemetryConfig struct { Metrics MetricsConfig `yaml:"metrics"` Logs LoggingConfig `yaml:"logs"` }
type TraceConfig ¶
type TraceConfig struct {
Span []string `yaml:"span"`
}
Click to show internal directories.
Click to hide internal directories.