Documentation ¶
Overview ¶
Package telemetry provides the telemetry interfaces and implementations for providers
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNoopMetrics ¶
func NewNoopMetrics() *noop
NewNoopMetrics returns a new noop httpClientMetrics provider
func NewProviderMetrics ¶
func NewProviderMetrics() *providerMetrics
NewProviderMetrics creates a new provider metrics instance.
Types ¶
type HttpClientMetrics ¶
type HttpClientMetrics interface {
NewDurationRoundTripper(wrapped http.RoundTripper, providerType db.ProviderType) (http.RoundTripper, error)
}
HttpClientMetrics provides the httpClientMetrics for http clients
type ProviderMetrics ¶
type ProviderMetrics interface { HttpClientMetrics }
ProviderMetrics provides the httpClientMetrics for providers
Click to show internal directories.
Click to hide internal directories.