telemetry

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2025 License: Apache-2.0, MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultTracesEndpoint is the default OTLP HTTP endpoint for Storacha telemetry.
	DefaultTracesEndpoint = "telemetry.storacha.network:443"
)

Variables

This section is empty.

Functions

func Setup

func Setup(ctx context.Context, cfg Config) (func(context.Context) error, error)

Setup bootstraps the OpenTelemetry pipeline. If it does not return an error, make sure to call shutdown for proper cleanup.

Types

type Config

type Config struct {
	Enabled  bool
	Endpoint string
	Insecure bool
}

Config configures OTLP tracing.

Jump to

Keyboard shortcuts

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