googleapis / googleapis/google-cloud-go

o11y: implement T3 Client-Side Golden Telemetry (Spans & Logs)

Open
#20,535 0 comments 0 reactions 1 assignee Claimed by @haphungw View on GitHub
Dominant language
Go
Stars
4.5k
Forks
1.6k
Avg merge
1d 13h
Merged PRs (30d)
109

Description

- **T3 Spans**: Client request spans wrapping GAPIC RPC calls with `gcp.rpc.attempt` events, SemConv v1.39 (`gcp.client.*`, `rpc.*`), URL template path sanitization, and linking to T4 transport spans.
- **L3 Logging**: Structured error logging (`slog.Logger`) emitted upon terminal RPC failures (retries exhausted or non-retryable status).
- **Feature gating**: Disabled by default; gated by environment variables (`GOOGLE_SDK_GO_TRACING=true`, `GOOGLE_SDK_GO_LOGGING=true`).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.