package internal

import "go.opentelemetry.io/otel/exporters/otlp/internal"

Package internal contains common functionality for all OTLP exporters.

Index

Functions

func CleanPath

func CleanPath(urlPath string, defaultPath string) string

CleanPath returns a path with all spaces trimmed and all redundancies removed. If urlPath is empty or cleaning it results in an empty string, defaultPath is returned instead.

Source Files

config.go

Directories

PathSynopsis
exporters/otlp/internal/envconfig
Version
v1.5.0
Published
Mar 16, 2022
Platform
linux/amd64
Imports
3 packages
Last checked
7 minutes ago

Tools for package owners.