aggregator

package
v0.1.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OngoingTrace = prometheus.NewGaugeVec(
		prometheus.GaugeOpts{
			Name: "lunettes_ongoing_trace",
			Help: "traces ongoing(not completed yet)",
		},
		[]string{"trace_type"},
	)
)

Functions

This section is empty.

Types

type Aggregator

type Aggregator struct {
	// contains filtered or unexported fields
}

func NewAggregator

func NewAggregator(options *AggregatorOptions) (*Aggregator, error)

func (*Aggregator) Run

func (a *Aggregator) Run(stopCh <-chan struct{}) error

type AggregatorOptions

type AggregatorOptions struct {
	MetricsAddr                 string
	Workers                     int
	QPS                         float32
	Burst                       int
	TraceTimeout                time.Duration
	KubeConfigFile              string
	Cluster                     string
	JaegerCollector             string
	OTLPCollector               string
	ElasticSearchEndpoint       string
	ElasticSearchUser           string
	ElasticSearchPassword       string
	ElasticSearchIndexName      string
	ElasticSearchBufferDuration time.Duration
	ElasticSearchFetchInterval  time.Duration
	FeatureGates                string
	APIServerEnabled            bool
	APIServerListenAddr         string
	APIServerTraceStatsIndex    string
	EnableTrace                 bool
}

Jump to

Keyboard shortcuts

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