Skip to content

CCAR-P · Domain 3: Integration · 21% of the exam

Task 3.4: Instrumentation and Monitoring Gaps

Working out what a scaled agent system failed to record when a failure went unnoticed, and choosing the monitoring that would have shown it.

Study it

Sample questions

Try each one before opening the answer. Every option is explained, with the Anthropic documentation page that proves it.

Question 1 · choose 1

A company exports Claude Code telemetry to its collector. Managed settings contain:{ "env": { "CLAUDE_CODE_ENABLE_TELEMETRY": "1", "OTEL_EXPORTER_OTLP_ENDPOINT": "https://otel.internal.example.com:4317", "OTEL_EXPORTER_OTLP_HEADERS": "Authorization=Bearer <collector-token>" } }Each developer's onboarding script writes OTEL_LOGS_EXPORTER and OTEL_METRICS_EXPORTER as "otlp" into ~/.claude/settings.json. A month of runaway sessions in one repository never appeared in the event dashboards; that repository's committed .claude/settings.json sets OTEL_LOGS_EXPORTER to "none". Which change would have kept those sessions visible?

  1. AAdd per-signal endpoint variables to managed settings, so that each signal is pinned to the company collector
  2. BNothing more; the managed endpoint and headers already remove every conflicting telemetry variable at startup
  3. CSet OTEL_LOGS_EXPORTER and OTEL_METRICS_EXPORTER in managed settings as well
  4. DCommit both exporter selectors as "otlp" to every repository's .claude/settings.json
Show the answer and why
  • AAdd per-signal endpoint variables to managed settings, so that each signal is pinned to the company collector

    Incorrect

    A managed OTEL_EXPORTER_OTLP_ENDPOINT already removes developer-set per-signal endpoints; the gap is the exporter selector.

  • BNothing more; the managed endpoint and headers already remove every conflicting telemetry variable at startup

    Incorrect

    That removal covers endpoints and credentials; exporter selectors follow normal per-key precedence.

  • CSet OTEL_LOGS_EXPORTER and OTEL_METRICS_EXPORTER in managed settings as well

    Correct

    A developer or repository setting can still disable a signal unless managed settings set the selector too.

  • DCommit both exporter selectors as "otlp" to every repository's .claude/settings.json

    Incorrect

    Claude Code ignores the exporter variables in a repository's settings files, apart from a selector set to "none".

When managed settings set OTEL_EXPORTER_OTLP_ENDPOINT or the OTLP credentials, Claude Code removes conflicting developer-set endpoint and credential variables. Exporter selectors such as OTEL_LOGS_EXPORTER follow normal per-key precedence, so a developer's setting, or a repository that sets a selector to "none", can still turn a signal off. Set the selectors in managed settings too if they must stay locked.

Question 2 · choose 1

After a team enabled Claude Code telemetry export, its dashboards show nothing, and nobody noticed for a week. While closing the gap, the team wants to check exporter health on one developer machine. Where does Claude Code's monitoring documentation say failures from the configured exporters appear?

  1. AIn the /usage panel, as a red row that names the collector that refused the data
  2. BIn the claude.ai admin console, under the organization's analytics dashboard
  3. CIn the collector's own console only, since Claude Code itself logs nothing when an export fails
  4. DIn the log written with claude --debug-file, as errors prefixed [3P telemetry]
Show the answer and why
  • AIn the /usage panel, as a red row that names the collector that refused the data

    Incorrect

    /usage reports usage; the monitoring page points to the debug log for exporter failures.

  • BIn the claude.ai admin console, under the organization's analytics dashboard

    Incorrect

    The page points to the local debug log, not the admin console.

  • CIn the collector's own console only, since Claude Code itself logs nothing when an export fails

    Incorrect

    The page says Claude Code reports failures from the exporters you configure in the log written with --debug-file.

  • DIn the log written with claude --debug-file, as errors prefixed [3P telemetry]

    Correct

    The page says failures from the exporters you configure are reported as [3P telemetry] errors.

Claude Code's monitoring page says that if nothing arrives at your backend, you start Claude Code with claude --debug-file <path> and check that log: failures from the exporters you configure appear as [3P telemetry] errors. Lines prefixed [Anthropic telemetry] describe Anthropic's separate operational telemetry and don't indicate a problem with your setup.

Practice domain 3 →Practice all domains →