Documentation ¶
Index ¶
- func NewEmitter() pmetrics.Emitter
- type NoopEmitter
- func (NoopEmitter) AddInflightRequests(_ context.Context, _ httpmetrics.HTTPProperties, _ int)
- func (NoopEmitter) Close()
- func (NoopEmitter) EmitDist(_ context.Context, _ string, _ float64, _ []string)
- func (NoopEmitter) EmitGauge(_ context.Context, _ string, _ float64, _ []string)
- func (NoopEmitter) ObserveHTTPRequestDuration(_ context.Context, _ httpmetrics.HTTPReqProperties, _ time.Duration)
- func (NoopEmitter) ObserveHTTPResponseSize(_ context.Context, _ httpmetrics.HTTPReqProperties, _ int64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEmitter ¶
Types ¶
type NoopEmitter ¶
type NoopEmitter struct{}
func (NoopEmitter) AddInflightRequests ¶
func (NoopEmitter) AddInflightRequests(_ context.Context, _ httpmetrics.HTTPProperties, _ int)
func (NoopEmitter) Close ¶
func (NoopEmitter) Close()
func (NoopEmitter) ObserveHTTPRequestDuration ¶
func (NoopEmitter) ObserveHTTPRequestDuration(_ context.Context, _ httpmetrics.HTTPReqProperties, _ time.Duration)
func (NoopEmitter) ObserveHTTPResponseSize ¶
func (NoopEmitter) ObserveHTTPResponseSize(_ context.Context, _ httpmetrics.HTTPReqProperties, _ int64)
Click to show internal directories.
Click to hide internal directories.