Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tracer ¶
type Tracer interface {
// StartMeasurements must retrieve required information from the current
// application context and initialize any internal information that will
// be used as metrics for it.
StartMeasurements(ctx context.Context, serviceType string) (interface{}, error)
// ComputeMetrics receives an updated context and data returned by the
// StartMeasurements method to compute the current application metrics.
ComputeMetrics(ctx context.Context, serviceType string, data interface{}) error
}
Tracer is an interface that a tracing feature plugin should implement to be used by all internal supported services.
Click to show internal directories.
Click to hide internal directories.