Documentation
¶
Index ¶
- type Config
- type RWConfig
- type Tempo
- func (t *Tempo) GetExporters() map[configmodels.DataType]map[configmodels.Exporter]component.Exporter
- func (t *Tempo) GetExtensions() map[configmodels.Extension]component.ServiceExtension
- func (t *Tempo) GetFactory(kind component.Kind, componentType configmodels.Type) component.Factory
- func (t *Tempo) ReportFatalError(err error)
- func (t *Tempo) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Whether the Tempo subsystem should be enabled. Enabled bool `yaml:"-"` RemoteWrite RWConfig `yaml:"remote_write"` // Receivers: https://github.com/open-telemetry/opentelemetry-collector/tree/1405654d4e907b3215cece0ce04e46a6c1576382/receiver Receivers map[string]interface{} `yaml:"receivers"` // Attributes: https://github.com/open-telemetry/opentelemetry-collector/tree/1405654d4e907b3215cece0ce04e46a6c1576382/processor/attributesprocessor Attributes map[string]interface{} `yaml:"attributes"` // prom service discovery ScrapeConfigs []interface{} `yaml:"scrape_configs"` }
Config controls the configuration of the Tempo trace pipeline.
func (*Config) UnmarshalYAML ¶
UnmarshalYAML implements yaml.Unmarshaler.
type RWConfig ¶
type RWConfig struct { Endpoint string `yaml:"endpoint"` Insecure bool `yaml:"insecure"` BasicAuth *prom_config.BasicAuth `yaml:"basic_auth,omitempty"` Batch map[string]interface{} `yaml:"batch,omitempty"` // https://github.com/open-telemetry/opentelemetry-collector/blob/1405654d4e907b3215cece0ce04e46a6c1576382/processor/batchprocessor/config.go#L24 Queue map[string]interface{} `yaml:"queue,omitempty"` // https://github.com/open-telemetry/opentelemetry-collector/blob/1405654d4e907b3215cece0ce04e46a6c1576382/processor/queuedprocessor/config.go#L24 }
RWConfig controls the configuration of exporting to Grafana Cloud
type Tempo ¶
type Tempo struct {
// contains filtered or unexported fields
}
Tempo wraps the OpenTelemetry collector to enablet tracing pipelines
func (*Tempo) GetExporters ¶
func (t *Tempo) GetExporters() map[configmodels.DataType]map[configmodels.Exporter]component.Exporter
GetExporters implements component.Host
func (*Tempo) GetExtensions ¶
func (t *Tempo) GetExtensions() map[configmodels.Extension]component.ServiceExtension
GetExtensions implements component.Host
func (*Tempo) GetFactory ¶
GetFactory implements component.Host
func (*Tempo) ReportFatalError ¶
ReportFatalError implements component.Host
Click to show internal directories.
Click to hide internal directories.