Registry / cloud / go-trace

go-trace

JSON →
library1.11.7gogounverified

Package trace provides Cloud Trace integration for Go applications.

go get cloud.google.com/go/trace
INSTALL
IMPORT
SIG · GO-TRACE
G
go-trace
cloudgov1.11.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

trace
cloud.google.com/go/trace

Create a Cloud Trace client

package main import ( "context" "cloud.google.com/go/trace" ) func main() { ctx := context.Background() client, _ := trace.NewClient(ctx) defer client.Close() }
Debug
Known issues
gotchaRequires Google Cloud project and authentication.
fix
Set up a service account and enable Cloud Trace API.
affects: *
Upgrade
Version history
1.11.7latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
14
OpenAI (training)
1
Resources
go-trace — go get go-trace · libregistry