Plugins
ApplicationCommunity
Claude Code Stats logo

Claude Code Stats

timurdigital

Get plugin

Prompts

The Prompts tab shows how your team prompts Claude Code: how much, with which slash commands and how long the prompts are. It reads the user_prompt 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 uses only counts, lengths and command names. The prompt text stays redacted unless team members set OTEL_LOG_USER_PROMPTS=1, and the tab doesn't need it.

The Prompts tab with prompt totals, prompts over time, top slash commands and prompt length

Check prompting at a glance

PanelWhat it shows
PromptsPrompts sent in the period, typed prompts and slash commands together.
Slash Command ShareThe share of prompts that invoked a slash command, such as /compact.
Prompts per SessionThe average number of prompts in a session that had at least one prompt in the period.
Median Prompt LengthThe median length of typed prompts, in characters. Slash commands aren't counted.

See what your team asks for

PanelWhat it shows
Prompts Over TimePrompts per interval, stacked as typed prompts and slash commands.
Top Slash CommandsThe most-used slash commands.
Slash Commands by SourceWhere the commands come from: builtin, custom or mcp. Plugin commands count as custom.
Prompt LengthTyped prompts by length: under 100, 100 to 499, 500 to 1,999, and 2,000 or more characters.

Built-in commands, such as compact, show their name. Custom, plugin and MCP commands show as custom or mcp unless team members set OTEL_LOG_TOOL_DETAILS=1.

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 prompts 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