Documentation ¶
Index ¶
- type ClientPluginServices
- type ConfigV2
- type Configuration
- type Factory
- func (*Factory) AddFlags(flagSet *flag.FlagSet)
- func (f *Factory) Close() error
- func (f *Factory) CreateArchiveSpanReader() (spanstore.Reader, error)
- func (f *Factory) CreateArchiveSpanWriter() (spanstore.Writer, error)
- func (f *Factory) CreateDependencyReader() (dependencystore.Reader, error)
- func (f *Factory) CreateSpanReader() (spanstore.Reader, error)
- func (f *Factory) CreateSpanWriter() (spanstore.Writer, error)
- func (f *Factory) InitFromViper(v *viper.Viper, logger *zap.Logger)
- func (f *Factory) Initialize(metricsFactory metrics.Factory, logger *zap.Logger) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientPluginServices ¶ added in v1.58.0
type ClientPluginServices struct { shared.PluginServices Capabilities shared.PluginCapabilities // contains filtered or unexported fields }
ClientPluginServices defines services plugin can expose and its capabilities
func (*ClientPluginServices) Close ¶ added in v1.58.0
func (c *ClientPluginServices) Close() error
type ConfigV2 ¶ added in v1.58.0
type ConfigV2 struct { Tenancy tenancy.Options `mapstructure:"multi_tenancy"` configgrpc.ClientConfig `mapstructure:",squash"` exporterhelper.TimeoutSettings `mapstructure:",squash"` }
func (*ConfigV2) Build ¶ added in v1.58.0
func (c *ConfigV2) Build(logger *zap.Logger, tracerProvider trace.TracerProvider) (*ClientPluginServices, error)
TODO move this to factory.go
type Configuration ¶ added in v1.58.0
type Configuration struct { RemoteServerAddr string `yaml:"server" mapstructure:"server"` RemoteTLS tlscfg.Options RemoteConnectTimeout time.Duration `yaml:"connection-timeout" mapstructure:"connection-timeout"` TenancyOpts tenancy.Options }
Configuration describes the options to customize the storage behavior.
func (*Configuration) TranslateToConfigV2 ¶ added in v1.58.0
func (c *Configuration) TranslateToConfigV2() *ConfigV2
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
Factory implements storage.Factory and creates storage components backed by a storage plugin.
func NewFactoryWithConfig ¶ added in v1.55.0
func NewFactoryWithConfig( cfg ConfigV2, metricsFactory metrics.Factory, logger *zap.Logger, ) (*Factory, error)
NewFactoryWithConfig is used from jaeger(v2).
func (*Factory) CreateArchiveSpanReader ¶ added in v1.20.0
CreateArchiveSpanReader implements storage.ArchiveFactory
func (*Factory) CreateArchiveSpanWriter ¶ added in v1.20.0
CreateArchiveSpanWriter implements storage.ArchiveFactory
func (*Factory) CreateDependencyReader ¶
func (f *Factory) CreateDependencyReader() (dependencystore.Reader, error)
CreateDependencyReader implements storage.Factory
func (*Factory) CreateSpanReader ¶
CreateSpanReader implements storage.Factory
func (*Factory) CreateSpanWriter ¶
CreateSpanWriter implements storage.Factory
func (*Factory) InitFromViper ¶
InitFromViper implements plugin.Configurable
Click to show internal directories.
Click to hide internal directories.