Documentation ¶
Index ¶
- Variables
- func GetMetricsFactory(name string, host component.Host) (storage.MetricsFactory, error)
- func GetStorageFactory(name string, host component.Host) (storage.Factory, error)
- func GetStorageFactoryV2(name string, host component.Host) (spanstore.Factory, error)
- func NewFactory() extension.Factory
- type Backend
- type Config
- type Extension
- type MetricBackends
Constants ¶
This section is empty.
Variables ¶
View Source
var ID = component.NewID(componentType)
ID is the identifier of this extension.
Functions ¶
func GetMetricsFactory ¶ added in v1.60.0
GetMetricsFactory locates the extension in Host and retrieves a metrics factory from it with the given name.
func GetStorageFactory ¶
GetStorageFactory locates the extension in Host and retrieves a storage factory from it with the given name.
func GetStorageFactoryV2 ¶ added in v1.59.0
func NewFactory ¶
Types ¶
type Backend ¶ added in v1.59.0
type Backend struct { Memory *memory.Configuration `mapstructure:"memory"` Badger *badger.Config `mapstructure:"badger"` GRPC *grpc.Config `mapstructure:"grpc"` Cassandra *cassandra.Options `mapstructure:"cassandra"` Elasticsearch *esCfg.Configuration `mapstructure:"elasticsearch"` Opensearch *esCfg.Configuration `mapstructure:"opensearch"` }
type Config ¶
type Config struct { Backends map[string]Backend `mapstructure:"backends"` MetricBackends map[string]MetricBackends `mapstructure:"metric_backends"` }
Config contains configuration(s) for jaeger trace storage. Keys in the map are storage names that can be used to refer to them from other components, e.g. from jaeger_storage_exporter or jaeger_query. We tried to alias this type directly to a map, but conf did not populated it correctly. Note also that the Backend struct has a custom unmarshaler.
type MetricBackends ¶ added in v1.60.0
type MetricBackends struct {
Prometheus *promCfg.Configuration `mapstructure:"prometheus"`
}
Click to show internal directories.
Click to hide internal directories.