[DOCS] Session quality survey docs omit `CLAUDE_CODE_ENABLE_FEEDBACK_SURVEY_FOR_OTEL`
Documentation Type
Incorrect/outdated documentation
Documentation Location
https://code.claude.com/docs/en/data-usage
Section/Topic
Session quality surveys and the related survey configuration docs
Current Documentation
The docs currently say:
When you see the "How is Claude doing this session?" prompt in Claude Code, responding to this survey, including selecting "Dismiss", records only your rating. We do not collect or store any conversation transcripts, inputs, outputs, or other session data as part of the rating prompt itself. To disable these surveys, setCLAUDE_CODE_DISABLE_FEEDBACK_SURVEY=1. The survey is also disabled whenDISABLE_TELEMETRYorCLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFICis set. To control frequency instead of disabling, setfeedbackSurveyRatein your settings file to a probability between0and1.
Related pages currently document only the disable path and the sample-rate setting:
CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY| Set to1to disable the "How is Claude doing?" session quality surveys. Surveys are also disabled whenDISABLE_TELEMETRYorCLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFICis set.
feedbackSurveyRate| Probability (0–1) that the session quality survey appears when eligible. Set to0to suppress entirely. Useful when using Bedrock, Vertex, or Foundry where the default sample rate does not apply
What's Wrong or Missing?
As of v2.1.136, Claude Code added CLAUDE_CODE_ENABLE_FEEDBACK_SURVEY_FOR_OTEL to re-enable the session quality survey for enterprises capturing responses through OpenTelemetry.
The current docs do not mention that variable anywhere, and the existing survey guidance only describes:
A. How to disable the survey
data-usage and env-vars explain the disable behavior, but not the new OTEL-specific re-enable path.
B. How to tune survey frequency
settings documents feedbackSurveyRate, but not when an enterprise OTEL deployment needs the new override before survey sampling applies.
That leaves the current documentation incomplete for enterprise admins using OpenTelemetry, because the documented behavior stops at "disabled" and never explains the new opt-in override.
Suggested Improvement
Update the survey documentation to cover the v2.1.136 behavior in one place and cross-reference it from the related config pages.
Minimum fix:
- Add
CLAUDE_CODE_ENABLE_FEEDBACK_SURVEY_FOR_OTELtoenv-varswith its accepted value(s), default behavior, and when it should be used. - Update the
Session quality surveyssection indata-usageto explain that enterprise deployments capturing survey responses through OpenTelemetry can re-enable the survey with this variable. - Update the
feedbackSurveyRatesetting docs to clarify whether the rate applies only after that OTEL-specific re-enable condition is satisfied.
Impact
Medium - Makes feature difficult to understand
Additional Context
Affected Pages:
| Page | Line(s) | Context |
|------|---------|---------|
| https://code.claude.com/docs/en/data-usage | 26-38 | Session quality surveys section documents disable behavior and feedbackSurveyRate, but not the OTEL enterprise re-enable variable |
| https://code.claude.com/docs/en/env-vars | 78 | Documents CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY, but there is no entry for CLAUDE_CODE_ENABLE_FEEDBACK_SURVEY_FOR_OTEL |
| https://code.claude.com/docs/en/settings | 200 | feedbackSurveyRate covers sampling but not the OTEL-specific re-enable prerequisite |
Total scope: 3 pages affected
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗