core

package
v1.45.2 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHTTPClient

func NewHTTPClient(params Parameters) *http.Client

NewHTTPClient creates an http.Client that propagates OpenTelemetry trace headers.

func NewRoundTripper

func NewRoundTripper(params Parameters) http.RoundTripper

NewRoundTripper creates an http.RoundTripper that propagates OpenTelemetry trace headers.

Types

type Parameters

type Parameters struct {
	Tracing opentelemetry.Configuration `optional:"true"`
}

Jump to

Keyboard shortcuts

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