package internal
Import Path
go.opencensus.io/internal (on go.dev)
Dependency Relation
imports 5 packages, and imported by 2 packages
Package-Level Type Names (total 4, all are exported)
BucketConfiguration stores the number of samples to store for span buckets
for successful and failed spans for a particular span name.
MaxRequestsErrors int
MaxRequestsSucceeded int
Name string
LatencyBucketSummary is a summary of a latency bucket.
MaxLatency time.Duration
MinLatency time.Duration
Size int
PerMethodSummary is a summary of the spans stored for a single span name.
Active int
ErrorBuckets []ErrorBucketSummary
LatencyBuckets []LatencyBucketSummary
Package-Level Functions (total 3, in which 2 are exported)
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
Sanitize returns a string that is trunacated to 100 characters if it's too
long, and replaces non-alphanumeric characters to underscores.
Package-Level Variables (total 3, all are exported)
LocalSpanStoreEnabled true if the local span store is enabled.
Trace allows internal access to some trace functionality.
TODO(#412): remove this
UserAgent is the user agent to be added to the outgoing
requests from the exporters.
Package-Level Constants (only one, which is unexported)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |