googleapis / googleapis/google-cloud-cpp

Capture current thread in otel traces

Open
#11,259 2 comments 0 reactions 0 assignees View on GitHub
cpp: opentelemetry cpp: operator type: feature request
Dominant language
C++
Stars
659
Forks
462
Avg merge
1d 2h
Merged PRs (30d)
89

Description

For long-lived spans (the ones for streaming RPCs and `HttpPayload`) we should capture the thread used for each event / child span.

Contributor guide

Open the contributing guide

Research direction

Start by locating the long-lived span implementations for streaming RPCs and HttpPayload, then trace how events and child spans are created and exported through OpenTelemetry. Done means each event or child span captures the thread used for it, with tests covering both long-lived span cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.