D
Damira AI

Monitoring Integration

Connect Prometheus, Grafana, Loki, and ServiceNow to give Damira real-time visibility into your network.

Connect your monitoring stack and Damira pulls metrics, alerts, and logs automatically during troubleshooting. No more switching between tools — ask a question and Damira checks your monitoring systems first.

Supported Integrations

ToolWhat Damira DoesAccess
PrometheusQuery metrics, check active alerts, discover devices from scrape targetsRead-only
GrafanaSearch dashboards, pull alert states, check panel dataRead-only
LokiSearch logs by label, time range, and content. Pull log context around eventsRead-only
ServiceNowList incidents, create tickets, update ticket status, create change requestsRead + write (with approval)

All monitoring queries are read-only. Damira never modifies your monitoring configuration.

Setup

VS Code Extension Settings

Open VS Code Settings (Cmd+,) → search "Damira" → Monitoring section:

SettingExample
Prometheus URLhttps://prometheus.yourcompany.com
Grafana URLhttps://grafana.yourcompany.com
Loki URLhttps://loki.yourcompany.com
ServiceNow Instanceyourinstance (just the subdomain)
ServiceNow Usernameadmin
ServiceNow PasswordStored securely in VS Code secrets

Integration Picker

The Settings panel includes a category-based integration picker. Check the boxes for the tools you use and fill in the connection details. Damira only loads tools for integrations you've configured.

How It Works During Troubleshooting

When you report a problem like "BGP is down on WAN-RTR-01", Damira automatically:

  1. Queries Prometheus — checks frr_bgp_peer_state, interface metrics, and active alerts
  2. Checks Grafana alerts — looks for any firing alerts related to the device
  3. Searches Loki logs — pulls recent log entries containing BGP or the device name
  4. Reports findings — tells you what it found before asking you to run any CLI commands

You only need to provide manual CLI output for data your monitoring doesn't cover.

Device Discovery

Damira can discover your network devices from Prometheus scrape targets:

"Discover my devices from Prometheus"

This pulls device hostnames and IPs from your Prometheus target configuration and populates the Devices sidebar in VS Code. Discovered devices are available as context in all subsequent conversations.

ServiceNow Tickets

Damira creates properly structured ITSM tickets:

  • Incidents — with category, subcategory, assignment group, priority, and affected device (CMDB CI)
  • Change requests — with implementation plan, risk assessment, and rollback procedure

Tickets are created only when you explicitly ask for them. Damira presents a confirmation gate before creating any ticket — you see exactly what will be created and approve or modify before it's submitted.

Ticket Fields

FieldHow It's Set
CategoryAuto-detected from the issue type (Network, Hardware, Software)
PriorityBased on impact and urgency from the conversation
Assignment GroupNOC for P1/P2, Network Engineering for P3/P4
Affected DeviceLinked to CMDB CI if the device exists in ServiceNow
DescriptionStructured template: Impact, Detection Method, Affected Devices, Symptoms

Prerequisites

  • Tier: Starter or above for Prometheus/Grafana. ServiceNow available on all paid tiers.
  • Monitoring endpoints must be reachable from your VS Code machine (or via VPN/tunnel)
  • ServiceNow requires a Personal Developer Instance (PDI) or production instance with API access

On this page