telemetry

package
v0.0.47 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL