Package oc supports OpenCensus tracing and metrics for the Go Cloud Development Kit.
var ( MethodKey = mustKey("gocdk_method") StatusKey = mustKey("gocdk_status") ProviderKey = mustKey("gocdk_provider") )
Tag keys used for the standard Go CDK views.
LatencyMeasure returns the measure for method call latency used by Go CDK APIs.
ProviderName returns the name of the provider associated with the driver value. It is intended to be used to set Tracer.Provider. It actually returns the package path of the driver's type.
Views returns the views supported by Go CDK APIs.
A Tracer supports OpenCensus tracing and latency metrics.
End ends a span with the given error, and records a latency measurement.
Start adds a span to the trace, and prepares for recording a latency measurement.