claude-code - 💡(How to fix) Fix [DOCS] Session quality survey docs omit `CLAUDE_CODE_ENABLE_FEEDBACK_SURVEY_FOR_OTEL`

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Root Cause

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.

RAW_BUFFERClick to expand / collapse

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, set CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY=1. The survey is also disabled when DISABLE_TELEMETRY or CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC is set. To control frequency instead of disabling, set feedbackSurveyRate in your settings file to a probability between 0 and 1.

Related pages currently document only the disable path and the sample-rate setting:

CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY | Set to 1 to disable the "How is Claude doing?" session quality surveys. Surveys are also disabled when DISABLE_TELEMETRY or CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC is set.

feedbackSurveyRate | Probability (0–1) that the session quality survey appears when eligible. Set to 0 to 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:

  1. Add CLAUDE_CODE_ENABLE_FEEDBACK_SURVEY_FOR_OTEL to env-vars with its accepted value(s), default behavior, and when it should be used.
  2. Update the Session quality surveys section in data-usage to explain that enterprise deployments capturing survey responses through OpenTelemetry can re-enable the survey with this variable.
  3. Update the feedbackSurveyRate setting 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:

PageLine(s)Context
https://code.claude.com/docs/en/data-usage26-38Session quality surveys section documents disable behavior and feedbackSurveyRate, but not the OTEL enterprise re-enable variable
https://code.claude.com/docs/en/env-vars78Documents CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY, but there is no entry for CLAUDE_CODE_ENABLE_FEEDBACK_SURVEY_FOR_OTEL
https://code.claude.com/docs/en/settings200feedbackSurveyRate covers sampling but not the OTEL-specific re-enable prerequisite

Total scope: 3 pages affected

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [DOCS] Session quality survey docs omit `CLAUDE_CODE_ENABLE_FEEDBACK_SURVEY_FOR_OTEL`