Documentation ¶
Directories ¶
Path | Synopsis |
---|---|
examples
|
|
derived_gauges
This example demonstrates the use of derived gauges.
|
This example demonstrates the use of derived gauges. |
exporter
Package exporter contains a log exporter that supports exporting OpenCensus metrics and spans to a logging framework.
|
Package exporter contains a log exporter that supports exporting OpenCensus metrics and spans to a logging framework. |
gauges
This example shows how to use gauge metrics.
|
This example shows how to use gauge metrics. |
grpc/proto
Package helloworld is a generated protocol buffer package.
|
Package helloworld is a generated protocol buffer package. |
helloworld
Command helloworld is an example program that collects data for video size.
|
Command helloworld is an example program that collects data for video size. |
quickstart
Command stats implements the stats Quick Start example from:
|
Command stats implements the stats Quick Start example from: |
exporter
|
|
stackdriver/propagation
Package propagation implement X-Cloud-Trace-Context header propagation used by Google Cloud products.
|
Package propagation implement X-Cloud-Trace-Context header propagation used by Google Cloud products. |
check
Command version checks that the version string matches the latest Git tag.
|
Command version checks that the version string matches the latest Git tag. |
readme
Package readme generates the README.
|
Package readme generates the README. |
tagencoding
Package tagencoding contains the tag encoding used interally by the stats collector.
|
Package tagencoding contains the tag encoding used interally by the stats collector. |
testpb
Package testpb is a generated protocol buffer package.
|
Package testpb is a generated protocol buffer package. |
Package metric support for gauge and cumulative metrics.
|
Package metric support for gauge and cumulative metrics. |
metricdata
Package metricdata contains the metrics data model.
|
Package metricdata contains the metrics data model. |
metricexport
Package metricexport contains support for exporting metric data.
|
Package metricexport contains support for exporting metric data. |
test
Package test for testing code instrumented with the metric and stats packages.
|
Package test for testing code instrumented with the metric and stats packages. |
plugin
|
|
ocgrpc
Package ocgrpc contains OpenCensus stats and trace integrations for gRPC.
|
Package ocgrpc contains OpenCensus stats and trace integrations for gRPC. |
ochttp
Package ochttp provides OpenCensus instrumentation for net/http package.
|
Package ochttp provides OpenCensus instrumentation for net/http package. |
ochttp/propagation/b3
Package b3 contains a propagation.HTTPFormat implementation for B3 propagation.
|
Package b3 contains a propagation.HTTPFormat implementation for B3 propagation. |
ochttp/propagation/tracecontext
Package tracecontext contains HTTP propagator for TraceContext standard.
|
Package tracecontext contains HTTP propagator for TraceContext standard. |
runmetrics
Package runmetrics contains support for runtime metrics.
|
Package runmetrics contains support for runtime metrics. |
Package resource provides functionality for resource, which capture identifying information about the entities for which signals are exported.
|
Package resource provides functionality for resource, which capture identifying information about the entities for which signals are exported. |
resourcekeys
Package resourcekeys contains well known type and label keys for resources.
|
Package resourcekeys contains well known type and label keys for resources. |
Package stats contains support for OpenCensus stats recording.
|
Package stats contains support for OpenCensus stats recording. |
view
Package view contains support for collecting and exposing aggregates over stats.
|
Package view contains support for collecting and exposing aggregates over stats. |
Package tag contains OpenCensus tags.
|
Package tag contains OpenCensus tags. |
Package trace contains support for OpenCensus distributed tracing.
|
Package trace contains support for OpenCensus distributed tracing. |
internal
Package internal provides trace internals.
|
Package internal provides trace internals. |
propagation
Package propagation implements the binary trace context format.
|
Package propagation implements the binary trace context format. |
tracestate
Package tracestate implements support for the Tracestate header of the W3C TraceContext propagation format.
|
Package tracestate implements support for the Tracestate header of the W3C TraceContext propagation format. |
Package zpages implements a collection of HTML pages that display RPC stats and trace data, and also functions to write that same data in plain text to an io.Writer.
|
Package zpages implements a collection of HTML pages that display RPC stats and trace data, and also functions to write that same data in plain text to an io.Writer. |
Click to show internal directories.
Click to hide internal directories.