Documentation ¶
Index ¶
Constants ¶
const UserAgent = "opencensus-go [0.8.0]"
UserAgent is the user agent to be added to the outgoing requests from the exporters.
Variables ¶
var LocalSpanStoreEnabled bool
var Trace interface{}
Trace allows internal access to some trace functionality. TODO(#412): remove this
Functions ¶
func MonotonicEndTime ¶ added in v0.4.0
MonotonicEndTime returns the end time at present but offset from start, monotonically.
The monotonic clock is used in subtractions hence the duration since start added back to start gives end as a monotonic time. See https://golang.org/pkg/time/#hdr-Monotonic_Clocks
Types ¶
type BucketConfiguration ¶ added in v0.3.0
BucketConfiguration stores the number of samples to store for span buckets for successful and failed spans for a particular span name.
type ErrorBucketSummary ¶ added in v0.3.0
ErrorBucketSummary is a summary of an error bucket.
type LatencyBucketSummary ¶ added in v0.3.0
LatencyBucketSummary is a summary of a latency bucket.
type PerMethodSummary ¶ added in v0.3.0
type PerMethodSummary struct { Active int LatencyBuckets []LatencyBucketSummary ErrorBuckets []ErrorBucketSummary }
PerMethodSummary is a summary of the spans stored for a single span name.
Directories ¶
Path | Synopsis |
---|---|
Package readme generates the README.
|
Package readme generates the README. |
Package tagencoding contains the tag encoding used interally by the stats collector.
|
Package tagencoding contains the tag encoding used interally by the stats collector. |
Package testpb is a generated protocol buffer package.
|
Package testpb is a generated protocol buffer package. |