-
Notifications
You must be signed in to change notification settings - Fork 117
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Goal: Log reactive value updates as OTel log events.
Tasks
- Add logging helper to
shiny/otel/_core.py:emit_log(body, severity, attributes)- Emit OTel log record
- Modify
Value._set()to log value updates - Store value name at creation time for logging
- Include session ID in log attributes
Acceptance Criteria
- Value updates logged when
SHINY_OTEL_COLLECT >= reactivity - Logs include value name (e.g.,
"Set reactiveVal myValue") - Logs include
session.idattribute - No logs when collection level insufficient
- No-op when OTel SDK not configured
Files to Modify
shiny/otel/_core.pyshiny/reactive/_reactives.py(line ~180)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request