# Functions

AllViews returns the collected OpenCensus views.
CollectViews collects all the OpenCensus views and register at a later time when we setup the metric exporter.
NewFromEnv returns the observability exporter given the provided configuration, or an error if it failed to be created.
No description provided by the author
NewOpenCensus creates a new metrics and trace exporter for OpenCensus.
NewStackdriver creates a new metrics and trace exporter for Stackdriver.
NewStackdriverMonitoredResource returns a monitored resource with the required labels filled out.
RecordLatency calculate and record the latency: func foo() { defer RecordLatency(&ctx, time.Now(), metric, tag1, tag2) // remaining of the function body.
ResultError add a tag with the given string as the result.
WithBuildInfo creates a new context with the build and revision info attached to the observability context.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OCSQLDriverName is the name of the SQL driver wrapped by OpenCensus instrumentation code.

# Variables

BlameClient indicate the client is at fault (e.g.
BlameExternal indicate some third party is at fault.
BlameNone indicate no API failure.
BlameServer indicate the server is at fault.
BlameTagKey indicating Who to blame for the API request failure.
BlameUnknown can be used for everything else.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ResultNotOK add a tag indicating the API call is a failure.
ResultOK add a tag indicating the API call is a success.
ResultTagKey contains a free format text describing the result of the request.

# Structs

Config holds all of the configuration options for the observability exporter.
OpenCensusConfig holds the configuration options for the open census exporter.
StackdriverConfig holds the configuration options for the stackdriver exporter.

# Interfaces

BuildInfo is the interface to provide build information.
Exporter defines the minimum shared functionality for an observability exporter used by this application.
No description provided by the author

# Type aliases

ExporterType represents a type of observability exporter.