package internal
import "go.opencensus.io/internal"
Index ¶
- Constants
- Variables
- func Sanitize(s string) string
- type BucketConfiguration
- type ErrorBucketSummary
- type LatencyBucketSummary
- type PerMethodSummary
Constants ¶
const UserAgent = "opencensus-go-v0.1.0"
UserAgent is the user agent to be added to the outgoing requests from the exporters.
Variables ¶
var Trace interface{}
Trace allows internal access to some trace functionality. TODO(#412): remove this
Functions ¶
func Sanitize ¶
Sanitize returns a string that is trunacated to 100 characters if it's too long, and replaces non-alphanumeric characters to underscores.
Types ¶
type BucketConfiguration ¶
BucketConfiguration stores the number of samples to store for span buckets for successful and failed spans for a particular span name.
type ErrorBucketSummary ¶
ErrorBucketSummary is a summary of an error bucket.
type LatencyBucketSummary ¶
LatencyBucketSummary is a summary of a latency bucket.
type PerMethodSummary ¶
type PerMethodSummary struct { Active int LatencyBuckets []LatencyBucketSummary ErrorBuckets []ErrorBucketSummary }
PerMethodSummary is a summary of the spans stored for a single span name.
Source Files ¶
internal.go sanitize.go traceinternals.go
Directories ¶
Path | Synopsis |
---|---|
internal/readme | Package readme generates the README. |
internal/tagencoding | Package tagencoding contains the tag encoding used interally by the stats collector. |
- Version
- v0.3.0
- Published
- Feb 12, 2018
- Platform
- darwin/amd64
- Imports
- 3 packages
- Last checked
- 5 minutes ago –
Tools for package owners.