Skip to content

docs(google-genai): document config recording environment variables#4482

Open
RiyaChaturvedi37 wants to merge 3 commits intoopen-telemetry:mainfrom
RiyaChaturvedi37:docs/google-genai-config-recording
Open

docs(google-genai): document config recording environment variables#4482
RiyaChaturvedi37 wants to merge 3 commits intoopen-telemetry:mainfrom
RiyaChaturvedi37:docs/google-genai-config-recording

Conversation

@RiyaChaturvedi37
Copy link
Copy Markdown
Contributor

Summary

Documents the configuration for enabling config recording in the
Google GenAI SDK instrumentation.

Changes

Added a new "Configuration recording" section to the README.rst
explaining:

  • OTEL_GOOGLE_GENAI_GENERATE_CONTENT_CONFIG_INCLUDES — controls
    which config fields are included as span attributes
  • OTEL_GOOGLE_GENAI_GENERATE_CONTENT_CONFIG_EXCLUDES — controls
    which config fields are excluded from span attributes
  • Default behavior (no fields recorded by default)
  • Example usage for both variables
  • How they work together as allowlist/denylist pair

Fixes #3438

Refs open-telemetry#3438

Signed-off-by: RiyaChaturvedi37 <chaturvediriya37@gmail.com>
Signed-off-by: RiyaChaturvedi37 <chaturvediriya37@gmail.com>
@RiyaChaturvedi37 RiyaChaturvedi37 force-pushed the docs/google-genai-config-recording branch from 1c68c79 to 344dcc3 Compare April 23, 2026 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Google GenAI SDK instrumentation should document configuration for enabling config recording

1 participant