otelcollector

package module
v0.0.0-...-730b008 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory() receiver.Factory

Types

type Config

type Config struct {
	ProjectIDs           []string `mapstructure:"project_ids"`
	ProjectsFilter       string   `mapstructure:"projects_filter"`
	UniverseDomain       string   `mapstructure:"universe_domain"`
	MaxRetries           int      `mapstructure:"max_retries"`
	HTTPTimeout          string   `mapstructure:"http_timeout"`
	MaxBackoff           string   `mapstructure:"max_backoff"`
	BackoffJitter        string   `mapstructure:"backoff_jitter"`
	RetryStatuses        []int    `mapstructure:"retry_statuses"`
	MetricsPrefixes      []string `mapstructure:"metrics_prefixes"`
	MetricsInterval      string   `mapstructure:"metrics_interval"`
	MetricsOffset        string   `mapstructure:"metrics_offset"`
	MetricsIngest        bool     `mapstructure:"metrics_ingest_delay"`
	FillMissing          bool     `mapstructure:"fill_missing_labels"`
	DropDelegated        bool     `mapstructure:"drop_delegated_projects"`
	Filters              []string `mapstructure:"filters"`
	AggregateDeltas      bool     `mapstructure:"aggregate_deltas"`
	DeltasTTL            string   `mapstructure:"aggregate_deltas_ttl"`
	DescriptorTTL        string   `mapstructure:"descriptor_cache_ttl"`
	DescriptorGoogleOnly bool     `mapstructure:"descriptor_cache_only_google"`
}

Config maps stackdriver_exporter runtime settings into exporter_config.

func (*Config) Validate

func (c *Config) Validate() error

Jump to

Keyboard shortcuts

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