go.opencensus.iogo.opencensus.io/internal Index | Files | Directories

package internal

import "go.opencensus.io/internal"

Index

Constants

const UserAgent = "opencensus-go-v0.1.0"

UserAgent is the user agent to be added to the outgoing requests from the exporters.

Functions

func Sanitize

func Sanitize(s string) string

Sanitize returns a string that is trunacated to 100 characters if it's too long, and replaces non-alphanumeric characters to underscores.

Source Files

internal.go sanitize.go

Directories

PathSynopsis
internal/readmePackage readme generates the README.
internal/tagencodingPackage tagencoding contains the tag encoding used interally by the stats collector.
Version
v0.2.0
Published
Jan 30, 2018
Platform
js/wasm
Imports
2 packages
Last checked
54 minutes ago

Tools for package owners.