Documentation
¶
Index ¶
- type Config
- type PushConfig
- 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:"-"` PushConfig PushConfig `yaml:"push_config"` // Receivers: https://github.com/open-telemetry/opentelemetry-collector/blob/1962d7cd2b371129394b0242b120835e44840192/receiver/README.md Receivers map[string]interface{} `yaml:"receivers"` // Attributes: https://github.com/open-telemetry/opentelemetry-collector/blob/1962d7cd2b371129394b0242b120835e44840192/processor/attributesprocessor/config.go#L30 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 PushConfig ¶ added in v0.7.2
type PushConfig struct { Endpoint string `yaml:"endpoint"` Insecure bool `yaml:"insecure"` InsecureSkipVerify bool `yaml:"insecure_skip_verify"` BasicAuth *prom_config.BasicAuth `yaml:"basic_auth,omitempty"` Batch map[string]interface{} `yaml:"batch,omitempty"` // https://github.com/open-telemetry/opentelemetry-collector/blob/1962d7cd2b371129394b0242b120835e44840192/processor/batchprocessor/config.go#L24 SendingQueue map[string]interface{} `yaml:"sending_queue,omitempty"` // https://github.com/open-telemetry/opentelemetry-collector/blob/1962d7cd2b371129394b0242b120835e44840192/exporter/exporterhelper/queued_retry.go#L30 RetryOnFailure map[string]interface{} `yaml:"retry_on_failure,omitempty"` // https://github.com/open-telemetry/opentelemetry-collector/blob/1962d7cd2b371129394b0242b120835e44840192/exporter/exporterhelper/queued_retry.go#L54 }
PushConfig controls the configuration of exporting to Grafana Cloud
type Tempo ¶
type Tempo struct {
// contains filtered or unexported fields
}
Tempo wraps the OpenTelemetry collector to enable 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.