spaneventconnector

package module
v0.92.0-dev Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: MIT Imports: 9 Imported by: 0

README

Span Gauge Metrics Connector

Supported Pipeline Types

Exporter Pipeline Type Receiver Pipeline Type Stability Level
traces metrics [alpha]

Overview

TBD

Configurations

TBD

Examples

TBD

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory() connector.Factory

NewFactory creates a factory for the spanmetrics connector.

Types

type Config

type Config struct {
	Resource   ResourceConfig  `mapstructure:"resource"`
	Scope      ScopeConfig     `mapstructure:"scope"`
	Span       SpanConfig      `mapstructure:"span"`
	SpanEvents SpanEventConfig `mapstructure:"span_events"`
	Namespace  string          `mapstructure:"namespace"`
}

Config defines the configuration options for spaneventconnector.

func (*Config) Validate

func (c *Config) Validate() error

type ResourceConfig

type ResourceConfig struct {
	Attributes []string `mapstructure:"attributes"`
}

type ScopeConfig

type ScopeConfig struct {
	Attributes []string `mapstructure:"attributes"`
}

type SpanConfig

type SpanConfig struct {
	TraceID      bool     `mapstructure:"trace_id"`
	SpanID       bool     `mapstructure:"span_id"`
	ParentSpanID bool     `mapstructure:"parent_span_id"`
	StartTs      bool     `mapstructure:"start_ts"`
	EndTs        bool     `mapstructure:"end_ts"`
	Name         bool     `mapstructure:"name"`
	Attributes   []string `mapstructure:"attributes"`
}

type SpanEventConfig

type SpanEventConfig struct {
	TraceID    bool     `mapstructure:"trace_id"`
	SpanID     bool     `mapstructure:"span_id"`
	Name       bool     `mapstructure:"name"`
	Attributes []string `mapstructure:"attributes"`
}

Jump to

Keyboard shortcuts

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