ShiftLeftMonitorIQ
Monitor your Azure Application Insights telemetry live from VS Code — no portal needed.
Features
| Feature |
Description |
| Live Metrics Dashboard |
Real-time request rate, failures, response times in a webview |
| Exceptions Viewer |
Top exceptions grouped by type with counts and timestamps |
| Dependency Failures |
Failed HTTP/SQL/external calls with result codes |
| Performance Percentiles |
P50 / P95 / P99 response times |
| Availability Tests |
Ping test results from all configured locations |
| Deployment Annotations |
Deployment markers on the timeline |
| Smart Detection Alerts |
AI-detected anomalies from Application Insights |
| Custom Threshold Alerts |
VS Code notifications when metrics exceed thresholds |
| Status Bar Indicator |
At-a-glance health in the bottom bar |
| Sidebar Tree Views |
Overview, exceptions, dependencies, availability, smart detection |
Getting Started
Prerequisites
- An Azure Application Insights resource with a Log Analytics workspace
- Azure CLI installed and authenticated (
az login), or a Managed Identity / Service Principal configured
Setup
- Install the extension
- Open the Command Palette (
Ctrl+Shift+P) and run SLMIQ: Configure Connection
- Enter your Log Analytics Workspace ID (find it in Azure Portal → Log Analytics → Properties)
- Run SLMIQ: Open Live Dashboard
Configuration
Open VS Code Settings and search for appinsights:
| Setting |
Default |
Description |
slmiq.workspaceId |
— |
Log Analytics Workspace ID |
slmiq.applicationId |
— |
Application Insights Application ID |
slmiq.resourceId |
— |
Full Azure Resource ID |
slmiq.refreshIntervalSeconds |
30 |
Auto-refresh interval (10–300s) |
slmiq.alertThresholds |
see below |
Thresholds for VS Code notifications |
Default Alert Thresholds
{
"failedRequestRate": 5,
"exceptionRate": 10,
"dependencyFailureRate": 5,
"responseTimeP95Ms": 3000
}
Commands
| Command |
Description |
SLMIQ: Open Live Dashboard |
Opens the full webview dashboard |
SLMIQ: Configure Connection |
Set your Workspace ID |
SLMIQ: Refresh Metrics |
Manually refresh all data |
SLMIQ: Start Live Monitoring |
Begin auto-refreshing on a timer |
SLMIQ: Stop Live Monitoring |
Stop auto-refresh |
Authentication
Uses DefaultAzureCredential from @azure/identity, which tries in order:
- Environment variables (
AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET)
- Managed Identity (when running inside Azure)
- Azure CLI (
az login)
- Azure PowerShell (
Connect-AzAccount)
- Visual Studio Code Azure Account extension
For local development, just run az login before opening VS Code.
Deployment Annotations
To see deployment markers on the dashboard, send custom events named "DeploymentEvent" from your CI/CD pipeline:
# Example: Azure CLI after a deployment
az monitor app-insights events create \
--app <app-insights-name> \
--resource-group <rg> \
--type customEvent \
--name "DeploymentEvent" \
--custom-dimensions "{\"version\":\"1.2.3\",\"environment\":\"production\"}"
Development
npm install
npm run compile # or: npm run watch
# Press F5 in VS Code to launch Extension Development Host
License
MIT