sampling

package
v1.0.30 Latest Latest
Warning

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

Go to latest
Published: May 6, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

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:"-"`
}

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 adheres to the sfxclient.Collector interface

func (*SmartSampler) DebugEndpoints added in v1.0.9

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

DebugEndpoints does nothing

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