package
0.17.0
Repository: https://github.com/rupertchen/google-cloud-go.git
Documentation: pkg.go.dev

# Packages

Package trace is an auto-generated package for the Stackdriver Trace API.
Package trace is an auto-generated package for the Stackdriver Trace API.

# Functions

FromContext returns the span contained in the context, or nil.
NewClient creates a new Google Stackdriver Trace client.
NewContext returns a derived context containing the span.
NewLimitedSampler returns a sampling policy that randomly samples a given fraction of requests.
WithResponse returns an option that can be passed to Finish that indicates that some labels for the span should be set using the given *http.Response.

# Constants

Stackdriver Trace API predefined labels.
Stackdriver Trace API predefined labels.
Stackdriver Trace API predefined labels.
Stackdriver Trace API predefined labels.
Stackdriver Trace API predefined labels.
Stackdriver Trace API predefined labels.
Stackdriver Trace API predefined labels.
Stackdriver Trace API predefined labels.
Stackdriver Trace API predefined labels.
Stackdriver Trace API predefined labels.
Stackdriver Trace API predefined labels.
Stackdriver Trace API predefined labels.
Stackdriver Trace API predefined labels.
Stackdriver Trace API predefined labels.
Stackdriver Trace API predefined labels.
Stackdriver Trace API predefined labels.
Stackdriver Trace API predefined labels.
Stackdriver Trace API predefined labels.
Stackdriver Trace API predefined labels.
Stackdriver Trace API predefined labels.
Stackdriver Trace API predefined labels.
ScopeCloudPlatform grants permissions to view and manage your data across Google Cloud Platform services.
ScopeTraceAppend grants permissions to write trace data for a project.

# Structs

Client is a client for uploading traces to the Google Stackdriver Trace service.
Decision is the value returned by a call to a SamplingPolicy's Sample method.
Parameters contains the values passed to a SamplingPolicy's Sample method.
Span contains information about one span of a trace.
Transport is an http.RoundTripper that traces the outgoing requests.

# Interfaces

No description provided by the author
No description provided by the author