package
18.0.0-dev.vnet-windows.4+incompatible
Repository: https://github.com/gravitational/teleport.git
Documentation: pkg.go.dev
# Functions
NewClient either returns the provided Config.Client or constructs a new client that is connected to the Config.ExporterURL with the appropriate TLS credentials.
NewCollector creates a new Collector based on the provided config.
NewExporter returns a new exporter that is configured per the provided Config.
NewNoopClient returns an oltptrace.Client that does nothing.
NewRotatingFileClient returns a new RotatingFileClient that will store files in the provided directory.
NewStartedClient either returns the provided Config.Client or constructs a new client that is connected to the Config.ExporterURL with the appropriate TLS credentials.
NewTraceProvider creates a new Provider that is configured per the provided Config.
NoopProvider creates a new Provider that never samples any spans.
NoopTracer creates a new Tracer that never samples any spans.
# Constants
DefaultExporterDialTimeout is the default timeout for dialing the exporter.
100MB.
HostIDKey is the attribute key for the host UUID.
HostnameKey is the attribute key for the hostname.
ProcessIDKey is attribute key for the process ID.
VersionKey is the attribute key for the teleport version.
# Variables
No description provided by the author
# Structs
Collector is a simple in memory implementation of an OpenTelemetry Collector that is used for testing purposes.
CollectorConfig configures how a Collector should be created.
Config used to set up the tracing exporter and provider.
Provider wraps the OpenTelemetry tracing provider to provide common tags for all tracers.
RotatingFileClient is an otlptrace.Client that writes traces to a file.