storagereceiver

package
v1.56.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

README

Storage Receiver

storagereceiver is a fake receiver that creates an artificial stream of traces by:

  • repeatedly querying one of Jaeger storage backends for all traces (by service).
  • tracking new traces / spans and passing them to the next component in the pipeline.

Getting Started

The following settings are required:

  • trace_storage (no default): name of a storage backend defined in jaegerstorage extension

The following settings can be optionally configured:

  • pull_interval (default = 0s): The delay between each iteration of pulling traces.
receivers:
  jaeger_storage_receiver:
    trace_storage: external-storage
    pull_interval: 0s

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ID = component.NewID(componentType)

ID is the identifier of this extension.

Functions

func NewFactory

func NewFactory() receiver.Factory

Types

type Config

type Config struct {
	TraceStorage string        `valid:"required" mapstructure:"trace_storage"`
	PullInterval time.Duration `mapstructure:"pull_interval"`
}

func (*Config) Validate

func (cfg *Config) Validate() error

Jump to

Keyboard shortcuts

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