sampling

package
v1.2.23 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2020 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SmartSampleConfig

type SmartSampleConfig struct {
	EtcdServer           etcdIntf.Server   `json:"-"`
	EtcdClient           etcdIntf.Client   `json:"-"`
	AdditionalDimensions map[string]string `json:",omitempty"`
	ClusterName          *string           `json:"-"`
	Distributor          *bool             `json:"-"`
	Idx                  int               `json:"-"`
}

SmartSampleConfig is not here

type SmartSampler

type SmartSampler struct{}

SmartSampler is not here

func New

func New(*SmartSampleConfig, log.Logger, dtsink) (*SmartSampler, error)

New returns you nothing

func (*SmartSampler) AddSpans

func (f *SmartSampler) AddSpans(context context.Context, spans []*trace.Span, sink trace.Sink) error

AddSpans does nothing

func (*SmartSampler) Close

func (f *SmartSampler) Close() error

Close does nothing

func (*SmartSampler) ConfigureHTTPSink

func (f *SmartSampler) ConfigureHTTPSink(sink *sfxclient.HTTPSink)

ConfigureHTTPSink does nothing

func (*SmartSampler) Datapoints

func (f *SmartSampler) Datapoints() []*datapoint.Datapoint

Datapoints implements the sfxclient.Collector interface and returns all datapoints

func (*SmartSampler) DebugDatapoints added in v1.2.11

func (f *SmartSampler) DebugDatapoints() []*datapoint.Datapoint

DebugDatapoints returns datapoints that are used for debugging

func (*SmartSampler) DebugEndpoints added in v1.0.9

func (f *SmartSampler) DebugEndpoints() map[string]http.Handler

DebugEndpoints does nothing

func (*SmartSampler) DefaultDatapoints added in v1.2.11

func (f *SmartSampler) DefaultDatapoints() []*datapoint.Datapoint

DefaultDatapoints returns a set of default datapoints about the sampler

func (*SmartSampler) StartupFinished added in v0.10.13

func (f *SmartSampler) StartupFinished() error

StartupFinished does nothing

Jump to

Keyboard shortcuts

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