Help us shape the future of Go! Take the 2026 Go Developer Survey

telemetry

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: Apache-2.0 Imports: 12 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