jaegerremotesampling

package module
v0.45.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2022 License: Apache-2.0 Imports: 6 Imported by: 4

README

Jaeger's Remote Sampling extension

This extension allows serving sampling strategies following the Jaeger's remote sampling API. This extension can be configured to proxy requests to a backing remote sampling server, which could potentially be a Jaeger Collector down the pipeline, or a static JSON file from the local file system.

Although this extension is derived from Jaeger, it can be used by any clients who can consume this standard, such as the OpenTelemetry Java SDK.

Configuration

extensions:
  jaegerremotesampling:
    remote:
      endpoint: jaeger-collector:14250
  jaegerremotesampling/1:
    strategy_file: /etc/otel/sampling_strategies.json

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory() component.ExtensionFactory

NewFactory creates a factory for the OIDC Authenticator extension.

Types

type Config

type Config struct {
	config.ExtensionSettings      `mapstructure:",squash"`
	configgrpc.GRPCServerSettings `mapstructure:",squash"`
	configgrpc.GRPCClientSettings `mapstructure:"remote"`

	// StrategyFile defines the location of the strategy file to serve. Cannot be set when `Endpoint` is already set.
	StrategyFile string `mapstructure:"strategy_file"`
}

Config has the configuration for the extension enabling the health check extension, used to report the health status of the service.

func (*Config) Validate

func (cfg *Config) Validate() error

Validate checks if the extension configuration is valid

Jump to

Keyboard shortcuts

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