Documentation ¶
Index ¶
- type SmartSampleConfig
- type SmartSampler
- func (f *SmartSampler) AddSpans(context context.Context, spans []*trace.Span, sink trace.Sink) error
- func (f *SmartSampler) Close() error
- func (f *SmartSampler) ConfigureHTTPSink(sink *sfxclient.HTTPSink)
- func (f *SmartSampler) Datapoints() []*datapoint.Datapoint
- func (f *SmartSampler) DebugEndpoints() map[string]http.Handler
- func (f *SmartSampler) StartupFinished() error
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) 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
Click to show internal directories.
Click to hide internal directories.