otelconfig

package
v0.0.0-...-7aa6a20 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ExporterOLTPHTTP Exporter = "http"
	ExporterOLTPGRPC Exporter = "grpc"

	CloudDefaultTelemetryEndpoint = "https://cosmo-otel.wundergraph.com"
	DefaultMetricsPath            = "/v1/metrics"
	DefaultTracesPath             = "/v1/traces"

	DeltaTemporality       ExporterTemporality = "delta"
	CumulativeTemporality  ExporterTemporality = "cumulative"
	CustomCloudTemporality ExporterTemporality = "custom"
)

Variables

This section is empty.

Functions

func DefaultEndpoint

func DefaultEndpoint() string

DefaultEndpoint is the default endpoint used by subsystems that report OTEL data (e.g. metrics, traces, etc...)

func DefaultEndpointHeaders

func DefaultEndpointHeaders(authToken string) map[string]string

DefaultEndpointHeaders returns the headers required to talk to the default endpoint

Types

type Exporter

type Exporter string

type ExporterTemporality

type ExporterTemporality string

Jump to

Keyboard shortcuts

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