Versions in this module Expand all Collapse all v1 v1.1.0 May 14, 2024 Changes in this version + type ControllerArguments struct + CollectionInterval time.Duration + InitialDelay time.Duration + Timeout time.Duration + func (args *ControllerArguments) Convert() *scraperhelper.ControllerConfig + func (args *ControllerArguments) SetToDefault() + func (args *ControllerArguments) Validate() error v1.0.0 Apr 5, 2024 Changes in this version + const DefaultBalancerName + const KubernetesAPIConfig_AuthType_KubeConfig + const KubernetesAPIConfig_AuthType_None + const KubernetesAPIConfig_AuthType_ServiceAccount + const KubernetesAPIConfig_AuthType_TLS + var DefaultScraperControllerArguments = ScraperControllerArguments + var DefaultTimeout = 5 * time.Second + type AttrActionKeyValue struct + Action string + ConvertedType string + FromAttribute string + FromContext string + Key string + RegexPattern string + Value interface{} + type AttrActionKeyValueSlice []AttrActionKeyValue + func (actions AttrActionKeyValueSlice) Convert() []interface{} + type Attribute struct + Key string + Value interface{} + type CORSArguments struct + AllowedHeaders []string + AllowedOrigins []string + MaxAge int + func (args *CORSArguments) Convert() *otelconfighttp.CORSConfig + type CompressionType string + const CompressionTypeDeflate + const CompressionTypeEmpty + const CompressionTypeGzip + const CompressionTypeNone + const CompressionTypeSnappy + const CompressionTypeZlib + const CompressionTypeZstd + func (ct *CompressionType) UnmarshalText(in []byte) error + func (ct CompressionType) Convert() configcompression.Type + type Consumer interface + type ConsumerArguments struct + Logs []Consumer + Metrics []Consumer + Traces []Consumer + type ConsumerExports struct + Input Consumer + type DebugMetricsArguments struct + DisableHighCardinalityMetrics bool + func (args *DebugMetricsArguments) SetToDefault() + type GRPCClientArguments struct + Auth *auth.Handler + Authority string + BalancerName string + Compression CompressionType + Endpoint string + Headers map[string]string + Keepalive *KeepaliveClientArguments + ReadBufferSize units.Base2Bytes + TLS TLSClientArguments + WaitForReady bool + WriteBufferSize units.Base2Bytes + func (args *GRPCClientArguments) Convert() *otelconfiggrpc.ClientConfig + func (args *GRPCClientArguments) Extensions() map[otelcomponent.ID]otelextension.Extension + type GRPCServerArguments struct + Endpoint string + IncludeMetadata bool + Keepalive *KeepaliveServerArguments + MaxConcurrentStreams uint32 + MaxRecvMsgSize units.Base2Bytes + ReadBufferSize units.Base2Bytes + TLS *TLSServerArguments + Transport string + WriteBufferSize units.Base2Bytes + func (args *GRPCServerArguments) Convert() *otelconfiggrpc.ServerConfig + type HTTPClientArguments struct + Auth *auth.Handler + Compression CompressionType + DisableKeepAlives bool + Endpoint string + HTTP2PingTimeout time.Duration + HTTP2ReadIdleTimeout time.Duration + Headers map[string]string + IdleConnTimeout *time.Duration + MaxConnsPerHost *int + MaxIdleConns *int + MaxIdleConnsPerHost *int + ReadBufferSize units.Base2Bytes + TLS TLSClientArguments + Timeout time.Duration + WriteBufferSize units.Base2Bytes + func (args *HTTPClientArguments) Convert() *otelconfighttp.ClientConfig + func (args *HTTPClientArguments) Extensions() map[otelcomponent.ID]otelextension.Extension + type HTTPServerArguments struct + CORS *CORSArguments + Endpoint string + IncludeMetadata bool + MaxRequestBodySize units.Base2Bytes + TLS *TLSServerArguments + func (args *HTTPServerArguments) Convert() *otelconfighttp.ServerConfig + type InstrumentationLibrary struct + Name string + Version *string + type KeepaliveClientArguments struct + PingResponseTimeout time.Duration + PingWait time.Duration + PingWithoutStream bool + func (args *KeepaliveClientArguments) Convert() *otelconfiggrpc.KeepaliveClientConfig + type KeepaliveEnforcementPolicy struct + MinTime time.Duration + PermitWithoutStream bool + func (args *KeepaliveEnforcementPolicy) Convert() *otelconfiggrpc.KeepaliveEnforcementPolicy + type KeepaliveServerArguments struct + EnforcementPolicy *KeepaliveEnforcementPolicy + ServerParameters *KeepaliveServerParamaters + func (args *KeepaliveServerArguments) Convert() *otelconfiggrpc.KeepaliveServerConfig + type KeepaliveServerParamaters struct + MaxConnectionAge time.Duration + MaxConnectionAgeGrace time.Duration + MaxConnectionIdle time.Duration + Time time.Duration + Timeout time.Duration + func (args *KeepaliveServerParamaters) Convert() *otelconfiggrpc.KeepaliveServerParameters + type KubernetesAPIConfig struct + AuthType string + Context string + func (c *KubernetesAPIConfig) Validate() error + type LogSeverityNumberMatchProperties struct + MatchUndefined bool + Min SeverityLevel + type MatchConfig struct + Exclude *MatchProperties + Include *MatchProperties + type MatchProperties struct + Attributes []Attribute + Libraries []InstrumentationLibrary + LogBodies []string + LogSeverity *LogSeverityNumberMatchProperties + LogSeverityTexts []string + MatchType string + MetricNames []string + RegexpConfig *RegexpConfig + Resources []Attribute + Services []string + SpanKinds []string + SpanNames []string + func (args *MatchProperties) Convert() (map[string]interface{}, error) + type QueueArguments struct + Enabled bool + NumConsumers int + QueueSize int + func (args *QueueArguments) Convert() *otelexporterhelper.QueueSettings + func (args *QueueArguments) SetToDefault() + func (args *QueueArguments) Validate() error + type RegexpConfig struct + CacheEnabled bool + CacheMaxNumEntries int + type RetryArguments struct + Enabled bool + InitialInterval time.Duration + MaxElapsedTime time.Duration + MaxInterval time.Duration + Multiplier float64 + RandomizationFactor float64 + func (args *RetryArguments) Convert() *configretry.BackOffConfig + func (args *RetryArguments) SetToDefault() + func (args *RetryArguments) Validate() error + type ScraperControllerArguments struct + CollectionInterval time.Duration + InitialDelay time.Duration + Timeout time.Duration + func (args *ScraperControllerArguments) Convert() *scraperhelper.ScraperControllerSettings + func (args *ScraperControllerArguments) SetToDefault() + func (args *ScraperControllerArguments) Validate() error + type SeverityLevel string + func LookupSeverityNumber(num plog.SeverityNumber) (SeverityLevel, error) + func (sl *SeverityLevel) UnmarshalText(text []byte) error + type TLSClientArguments struct + Insecure bool + InsecureSkipVerify bool + ServerName string + TLSSetting TLSSetting + func (args *TLSClientArguments) Convert() *otelconfigtls.TLSClientSetting + type TLSServerArguments struct + ClientCAFile string + TLSSetting TLSSetting + func (args *TLSServerArguments) Convert() *otelconfigtls.TLSServerSetting + type TLSSetting struct + CA string + CAFile string + Cert string + CertFile string + CipherSuites []string + IncludeSystemCACertsPool bool + Key alloytypes.Secret + KeyFile string + MaxVersion string + MinVersion string + ReloadInterval time.Duration + func (args *TLSSetting) Convert() *otelconfigtls.TLSSetting + func (t *TLSSetting) Validate() error