Plugins
ApplicationCommunity
Claude Code Stats logo

Claude Code Stats

timurdigital

Get plugin

Security

The Security tab is for administrators who audit how Claude Code runs across the team: who loosened permission checks, what auto mode allowed or blocked, which tool calls were rejected, failed logins, plugins from unofficial marketplaces and whether machines run the expected managed settings. It reads the events Claude Code sends as OpenTelemetry logs, so it needs a Loki data source and an extra Claude Code setting. For details, refer to Send events to Loki.

The tab works without OTEL_LOG_TOOL_DETAILS. The panels that need it for names say so.

The Security tab with escalation and login totals, permission mode changes, classifier verdicts and plugin installs

Check at a glance

PanelWhat it shows
Permission EscalationsSwitches to bypassPermissions (every tool call allowed) or auto (a classifier decides) mode.
Login FailuresFailed logins to Claude Code.
Unofficial Plugin InstallsPlugins installed from a marketplace that isn't an official Anthropic one.
Sessions Refused by PolicySessions a managed settings policy stopped from starting, for example because the policy helper failed.

See who changed permission modes

PanelWhat it shows
Escalations by Team MemberWho switched to bypassPermissions or auto mode.
Permission Mode ChangesEvery permission mode change, shown as previous mode → new mode.

Review tool call checks

PanelWhat it shows
Tool Decisions by ModePermission checks by the mode they ran in. Needs Claude Code v2.1.301 or later.
Auto Mode Classifier VerdictsWhat the auto mode classifier decided: allow, block, no_verdict (no usable answer, so the call was denied) or unavailable (the check failed, so the call was denied).
Classifier Blocks by RuleBlocked calls by the built-in rule the classifier named, such as data_exfiltration. The rule is sent only with OTEL_LOG_TOOL_DETAILS=1; without it, blocks show as Rule not sent.
Rejected Tool Calls by SourceRejected calls by who rejected them. Config rule (auto) covers settings rules, managed policy, the permission mode and the classifier.

Check logins, plugins and managed settings

PanelWhat it shows
Login Failures by CategoryFailed logins by error category. Logouts aren't counted, and the error message itself is never sent.
Plugin Installs by MarketplacePlugin installs from official Anthropic marketplaces and from others. Names of third-party plugins need OTEL_LOG_TOOL_DETAILS=1.
Managed Settings Helper StateThe state of the managed settings policy helper, reported when a session starts and when it changes.

MCP server connections and failures are on the Workflow tab. To get alerted on events like these, refer to Set up alerts.

Filters on this tab

Events picks the Loki data source with Claude Code events. Team Member, Repository and any filter labels apply to every panel. The tab has no Model filter, because these events aren't recorded per model.

Insights

  • Adoption

    Running on 816 active Grafana instances.

  • Activity

    Last updated 20 Nov 2026.

    3 releases in the past year.

Version
2.0.2
Dependencies
  • Grafana >=13.2.0
Developer
timurdigital

Grafana Cloud

Connect any plugin in Grafana Cloud.

  • 150+ data source integrations
  • Grafana Assistant - AI that correlates your data, builds queries, and answers questions
  • 10k Prometheus metrics + 50 GB logs, traces, and profiles on the free tier
  • ...and more
Create free account