package plugin

import "github.com/containerd/containerd/tracing/plugin"

Index

Types

type OTLPConfig

type OTLPConfig struct {
	Endpoint string `toml:"endpoint"`
	Protocol string `toml:"protocol"`
	Insecure bool   `toml:"insecure"`
}

OTLPConfig holds the configurations for the built-in otlp span processor

type TraceConfig

type TraceConfig struct {
	ServiceName        string  `toml:"service_name"`
	TraceSamplingRatio float64 `toml:"sampling_ratio"`
}

TraceConfig is the common configuration for open telemetry.

Source Files

otlp.go

Version
v1.7.0-rc.3
Published
Mar 9, 2023
Platform
darwin/amd64
Imports
18 packages
Last checked
52 seconds ago

Tools for package owners.