Skip to content

DC-2879: Honor rpc_body and rpc_metadata config for gRPC spans - #23

Merged
t-santoshsahu merged 3 commits into
mainfrom
fix/DC-2879-rpc-body-config
Sep 8, 2026
Merged

t-santoshsahu merged 3 commits into
mainfrom
fix/DC-2879-rpc-body-config

Conversation

@t-santoshsahu

Copy link
Copy Markdown
Collaborator

BaseInstrumentorWrapper was using HTTP data_capture flags (and the wrong body direction flag) when recording rpc.request/response body and metadata. Wire RPC handlers to rpc_body.* and rpc_metadata.* and add a grpc test that asserts bodies/metadata are omitted when disabled in config.

t-santoshsahu and others added 2 commits September 7, 2026 21:18
BaseInstrumentorWrapper was using HTTP data_capture flags (and the wrong
body direction flag) when recording rpc.request/response body and metadata.
Wire RPC handlers to rpc_body.* and rpc_metadata.* and add a grpc test
that asserts bodies/metadata are omitted when disabled in config.

Co-authored-by: Cursor <cursoragent@cursor.com>
…ction

Add litellm pydantic pytest plugin (same as pythonagent) to SDK CI, and
use SpanKind.SERVER when picking the gRPC server span in the rpc_body test.

Co-authored-by: Cursor <cursoragent@cursor.com>
@t-santoshsahu
t-santoshsahu merged commit a966454 into main Sep 8, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants