Skip to main content

Protection Analytics

When your project is linked to the cloud, shield automatically reports protection events to your dashboard.

Viewing Analytics

  1. Go to app.dotsetlabs.com
  2. Select your project
  3. View the Overview tab

Available Metrics

MetricDescription
Total RunsNumber of dotset run executions
Exposures BlockedSecrets caught before they leaked
Protection RatePercentage of runs without exposures
Top Exposed SecretsMost frequently blocked secret keys

Event Details

Each protection event includes:
{
  "command": "npm start",
  "mode": "redact",
  "secretCount": 12,
  "exposureCount": 2,
  "exposures": [
    { "patternName": "DATABASE_URL", "count": 1 },
    { "patternName": "API_KEY", "count": 1 }
  ],
  "duration": 4500,
  "exitCode": 0
}
Privacy: Secret values are never transmitted. Only key names and counts.

Retention by Plan

PlanAnalytics Retention
Free7 days
Pro90 days
Business1 year

Linking Your Project

# Get token from dashboard
dotset link <project-id> --token <token>

# Verify
dotset status

Disabling Telemetry

For individual runs:
dotset run --no-telemetry -- npm start
Or unlink entirely:
dotset unlink