Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct{}
Provider is a no-op metrics provider that discards all metrics. Use this when metrics collection is disabled.
func (*Provider) RecordCount ¶
RecordCount is a no-op
func (*Provider) RecordDuration ¶
RecordDuration is a no-op
func (*Provider) RecordEvent ¶
RecordEvent is a no-op
type Span ¶
type Span struct{}
Span is a no-op span
func (*Span) AddAttribute ¶
AddAttribute is a no-op
type Trace ¶
type Trace struct{}
Trace is a no-op trace
func (*Trace) AddAttribute ¶
AddAttribute is a no-op
func (*Trace) SetResponse ¶
func (t *Trace) SetResponse(w http.ResponseWriter) http.ResponseWriter
SetResponse returns the writer unchanged
Click to show internal directories.
Click to hide internal directories.