sqlinsight-pro/deploy/prometheus/prometheus.yml
Claude 0e2146ef6d
Some checks are pending
CI / Build og unit tests (push) Waiting to run
CI / Integration (mcr.microsoft.com/mssql/server:2017-latest) (push) Blocked by required conditions
CI / Integration (mcr.microsoft.com/mssql/server:2019-latest) (push) Blocked by required conditions
CI / Integration (mcr.microsoft.com/mssql/server:2022-latest) (push) Blocked by required conditions
CI / Integration (mcr.microsoft.com/mssql/server:2025-latest) (push) Blocked by required conditions
Fase 4: integration with Prometheus, Grafana, SCOM and scripts
Read-only JSON API (/api/v1/instances, /api/v1/findings) and a
Prometheus endpoint (/metrics) in the web UI, with bearer tokens for
machines (only their SHA-256 is configured; a token only opens the API,
never the pages; sensitive evidence left out unless enabled). A
Grafana dashboard and Prometheus scrape example. A Windows Event Log
notification channel with fixed event ids for SCOM, exempt from the
hourly cap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E3EExwndy8Z22EK2Qpt6BK
2026-09-29 09:56:01 +00:00

11 lines
360 B
YAML

# Scrape SQLInsight Web. Create the token with: SQLInsight.Web new-api-token prometheus
scrape_configs:
- job_name: sqlinsight
scheme: https
scrape_interval: 60s
metrics_path: /metrics
authorization:
type: Bearer
credentials_file: /etc/prometheus/sqlinsight.token
static_configs:
- targets: ["sqlinsight.example.local"]