Skip to main content

Check out Port for yourself ➜ 

Visualize Cursor metrics

This guide demonstrates how to set up a monitoring dashboard to gain insights into your Cursor AI usage using Port. You'll learn how to visualize key metrics like acceptance rates, active users, cost trends, and track AI-assisted code generation over time.

Common use cases

  • Monitor Cursor AI adoption trends across your engineering teams.
  • Track AI suggestion acceptance rates to measure productivity gains.
  • Analyze usage costs and optimize AI spend.
  • Compare TAB vs Composer usage patterns for code generation.

Prerequisites

This guide assumes the following:

Create the dashboard

  1. Navigate to your software catalog.

  2. Click on the + button in the left sidebar.

  3. Select New dashboard.

  4. Name the dashboard Cursor AI Insights.

  5. Input Monitor Cursor AI usage, adoption, and productivity metrics under Description.

  6. Select the Cursor icon.

  7. Click Create.

You now have a blank dashboard where you can add widgets to visualize your Cursor metrics.

Add widgets

Create the following widgets to gain insights into your Cursor usage:

Total active users widget

Total active users (click to expand)
  1. Click on + Widget and select Number Chart.

  2. Fill in the following details:

    • Title: Total Active Users.
    • Description: Number of active users using Cursor AI.
    • Icon: Users.
    • Blueprint: cursor_usage_record.
    • Chart type: Select Count entities.
  3. Click Save.

Total AI accepts widget

Total AI accepts (click to expand)
  1. Click on + Widget and select Number Chart.

  2. Fill in the following details:

    • Title: Total AI Accepts.
    • Description: Total number of AI suggestions accepted.
    • Icon: Checklistc.
    • Blueprint: cursor_usage_record.
    • Chart type: Select Aggregate by property.
    • Property: total_accepts.
    • Function: Sum.
  3. Click Save.

Total cost widget

Total cost (click to expand)
  1. Click on + Widget and select Number Chart.

  2. Fill in the following details:

    • Title: Total Cost.
    • Description: Total cost of Cursor AI usage.
    • Blueprint: cursor_usage_record.
    • Chart type: Select Aggregate by property.
    • Property: total_cents.
    • Function: Sum.
  3. Click Save.

AI suggestion acceptance rate over time widget

AI suggestion acceptance rate over time (click to expand)
  1. Click on + Widget and select Line Chart.

  2. Title: AI Suggestion Acceptance Rate Over Time. Description: Track how well users are accepting AI suggestions. Icon: LineChart.

  3. Set X axis:

    • Title: Date.
    • Time interval: Week.
    • Time range: In the past 30 days.
  4. Set Y axis title: Count.

  5. Click + Line and configure:

    • Title: Total Accepts.
    • Chart type: Aggregate by property.
    • Blueprint: cursor_usage_record.
    • Property: Total Accepts.
    • Function: Average.
    • Measure time by: $record_date.
  6. Click + Line and configure:

    • Title: Total Rejects.
    • Chart type: Aggregate by property.
    • Blueprint: cursor_usage_record.
    • Property: Total Rejects.
    • Function: Average.
    • Measure time by: $record_date.
  7. Click + Line and configure:

    • Title: Total Lines Added.
    • Chart type: Aggregate by property.
    • Blueprint: cursor_usage_record.
    • Property: Total Lines Added.
    • Function: Average.
    • Measure time by: $record_date.
  8. Click + Line and configure:

    • Title: Total Lines Deleted.
    • Chart type: Aggregate by property.
    • Blueprint: cursor_usage_record.
    • Property: Total Lines Deleted.
    • Function: Average.
    • Measure time by: $record_date.
  9. Click Save.

Daily cost trends (click to expand)
  1. Click on + Widget and select Line Chart.

  2. Title: Daily Cost Trends. Description: Track AI usage costs over time. Icon: LineChart.

  3. Set X axis:

    • Title: Date.
    • Time interval: Week.
    • Time range: In the past 30 days.
  4. Set Y axis title: Cost.

  5. Click + Line and configure:

    • Title: Total Cost.
    • Chart type: Aggregate by property.
    • Blueprint: cursor_usage_record.
    • Property: total_cents.
    • Function: Sum.
    • Measure time by: $record_date.
  6. Click Save.

AI code generation trends (click to expand)
  1. Click on + Widget and select Line Chart.

  2. Title: AI Code Generation Trends. Description: Track TAB vs Composer usage for code changes. Icon: LineChart.

  3. Set X axis:

    • Title: Date.
    • Time interval: Week.
    • Time range: In the past 30 days.
  4. Set Y axis title: Changes.

  5. Click + Line and configure:

    • Title: Tab Changes.
    • Chart type: Aggregate by property.
    • Blueprint: cursor_ai_code_change_record.
    • Property: tab_changes.
    • Function: Average.
    • Measure time by: $record_date.
  6. Click + Line and configure:

    • Title: Composer Changes.
    • Chart type: Aggregate by property.
    • Blueprint: cursor_ai_code_change_record.
    • Property: composer_changes.
    • Function: Average.
    • Measure time by: $record_date.
  7. Click Save.

AI model usage distribution widget

AI model usage distribution (click to expand)
  1. Click on + Widget and select Pie Chart.

  2. Fill in the following details:

    • Title: AI Model Usage Distribution.
    • Description: Which AI models are being used most frequently.
    • Icon: Pie.
    • Blueprint: cursor_usage_record.
    • Property: most_used_model.
  3. Click Save.

User activity breakdown widget

User activity breakdown (click to expand)
  1. Click on + Widget and select Table.

  2. Fill in the following details:

    • Title: User Activity Breakdown.
    • Description: Detailed view of individual user productivity and AI usage patterns.
    • Icon: Table.
    • Blueprint: cursor_user_usage_record.
  3. In the Displayed properties section, select the following columns:

    • $identifier.
    • $title.
    • email.
    • total_accepts.
    • total_rejects.
    • acceptance_rate.
    • total_cents.
    • record_date.
  4. Click Save.

Daily commit activity widget

Daily commit activity (click to expand)
  1. Click on + Widget and select Line Chart.

  2. Title: Daily Commit Activity. Description: Track code commits with AI assistance breakdown. Icon: LineChart.

  3. Set X axis:

    • Title: Date.
    • Time interval: Week.
    • Time range: In the past 30 days.
  4. Set Y axis title: Commits.

  5. Click + Line and configure:

    • Title: Total Commits.
    • Chart type: Count entities.
    • Blueprint: cursor_daily_commit_record.
    • Function: Count.
    • Measure time by: $record_date.
  6. Click Save.