Technology
Cursor
Monitor Cursor with cost visibility, adoption tracking, and productivity signals across your engineering teams — without changing how developers work.
Overview
Cursor
Cursor is Cursor's agentic coding IDE. It exposes events about every session — token usage, cost, tool calls, and the pull requests it helps ship. Using the Dash0 plugin to convert the payloads into OpenTelemetry traces and sending them to Dash0 gives engineering leaders and platform teams a single place to understand how Cursor is adopted, what it costs, and the impact it has — without changing how developers work.
Use Cases
- Cost visibility: Track spend by user, team, and model so you can understand and control what Cursor costs.
- Adoption tracking: Follow active users, new adopters, and usage distribution to see how Cursor rolls out across your engineering teams.
- Productivity signals: Correlate sessions, tool calls, and assisted pull requests to understand the impact Cursor has on your team's output.
Setup
Overview
Cursor lets plugins subscribe to the events of an agent conversation. The Dash0 agent plugin uses that mechanism to emit agent activity as OpenTelemetry spans: prompts and responses, tool calls, MCP calls, and sub-agent activity, all sharing one trace context per turn. Send that data to Dash0 and the AI Coding section reports how much your teams use Cursor and what it costs.
The plugin always installs on the user scope, so one installation covers every project you open in Cursor.
Prerequisites
- Cursor installed on macOS, Linux, or Windows, on
amd64orarm64. - A Dash0 auth token with ingest permissions.
- On macOS and Linux,
jq(brew install jqon macOS, or your distro's package manager on Linux) is required by the install script. - On Windows, nothing extra
- Your name and email set in your git configuration. The plugin uses them to attribute activity to users:
git config --global user.name "{{user_full_name}}"
git config --global user.email "{{user_email}}"Installation
How you install the plugin depends on whether you already use the Dash0 plugin for Claude Code.
Already using the Dash0 plugin for Claude Code
If you installed the Dash0 plugin for Claude Code on the user scope and enabled the Include third-party Plugins, Skills and other configs option in Cursor, do not install the plugin again. Cursor picks it up automatically.
You only need to configure the plugin for Cursor. Run the /dash0-configure skill inside Cursor, or enter a prompt like
this:
Configure the Dash0 plugin and set the following values:
OTLP-Endpoint: {{endpoint_otlp_http}}
Token: {{token_ingestion}}
Dataset: {{dataset}}
Team: <your team>Using Cursor only
If you are only using Cursor, install the plugin on the user scope through the install script:
curl -fsSL https://raw.githubusercontent.com/dash0hq/dash0-agent-plugin/main/install-cursor.sh | bash -s -- \
--endpoint {{endpoint_otlp_http}} \
--token {{token_ingestion}} \
--dataset {{dataset}} \
--team <your team>On Windows, run the PowerShell installer instead.
$installer = irm https://raw.githubusercontent.com/dash0hq/dash0-agent-plugin/main/install-cursor.ps1
& ([scriptblock]::Create($installer)) `
-Endpoint {{endpoint_otlp_http}} `
-Token {{token_ingestion}} `
-Dataset {{dataset}} `
-Team "<your team>"Drop the arguments (irm … | iex) to be prompted for each value instead.
Both installers place the plugin under ~/.cursor/plugins/local/dash0-agent-plugin/ and prompt for any value you leave
out. After the installation completes, quit and relaunch Cursor so it registers the plugin's hooks.
Configure
The initial configuration happens during installation. It is stored at ~/.cursor/dash0-agent-plugin.local.md
(%USERPROFILE%\.cursor\dash0-agent-plugin.local.md on Windows). Change it at any time from inside Cursor with the
/dash0-configure skill that ships with the plugin, or with the configuration prompt shown above. Changes take effect on
the next agent turn, with no restart.
Verify
- Open Cursor and send a prompt that uses a tool.
- Within a few seconds, the telemetry appears in the AI Coding section of Dash0.
Uninstall
To uninstall the plugin, run the uninstall script from your terminal:
curl -fsSL https://raw.githubusercontent.com/dash0hq/dash0-agent-plugin/main/uninstall-cursor.sh | bashOn Windows:
irm https://raw.githubusercontent.com/dash0hq/dash0-agent-plugin/main/uninstall-cursor.ps1 | iexAfter uninstalling, restart Cursor so it stops registering the plugin's hooks.