Grafana dashboards

Install the seven Synaxis dashboards with the Compose monitoring profile, the Helm chart or by hand.

Synaxis ships seven Grafana dashboards (for Grafana 11 and later) in a "CodeWrightAI Synaxis" folder. Each answers one question, and together they chart every metric Synaxis exports.

Dashboard Answers
Overview Is Synaxis healthy, current and within budget right now? (the home dashboard)
Indexing and jobs Is work flowing; what is behind, failing or held, and why?
Sources and upstream Are GitHub and Azure DevOps reachable, delivering webhooks and within their rate limits?
Queries and API Are people and agents getting fast answers?
Models and cost What do models cost, per job kind and model, against the budget? How fast are each job kind's model calls?
Storage and runtime Are disks, Qdrant, PostgreSQL and the .NET processes healthy?
Security and access Who signs in, what is refused, what is written upstream, what needs attention?

The dashboards share their variables (data source, namespace, pod, role, shard, connection, job kind, model, tool), each defaulting to all values. Panel thresholds are the alert thresholds, firing alerts show as annotations, and panels link to each other and to the console page of what they show. A panel whose optional source (Qdrant's metrics, the PostgreSQL exporter, Kubernetes metrics) is missing shows "No data" and says which source it needs.

With Docker Compose

  1. Make secrets/grafana_admin_password (Install with Docker Compose).
  2. Start the profile: docker compose --profile monitoring up -d (with your other profiles).
  3. Open http://<host>:3000 (or the port in SYNAXIS_GRAFANA_PORT) and sign in as admin with that password. Grafana opens on the Overview dashboard.

The profile runs the official Prometheus (15 days of retention), PostgreSQL exporter and Grafana OSS images, unmodified. Their configuration, the alert rules, the data source and the dashboards are mounted read-only from monitoring/; anonymous access and sign-up are off.

Tip: Grafana's port is published on the host. Put it behind your reverse proxy or firewall, as you would the server.

With Helm

  1. Run a Grafana with the dashboard sidecar, such as the one in kube-prometheus-stack.

  2. In your values:

    metrics:
      serviceMonitor:
        enabled: true
      dashboards:
        enabled: true
        label: { grafana_dashboard: "1" }   # the label your sidecar watches
        folder: CodeWrightAI Synaxis
        consoleUrl: ""                     # defaults to server.publicUrl + /console
    alerts:
      enabled: true
    
  3. Run helm upgrade. The chart renders one ConfigMap per dashboard, which the sidecar loads into the folder.

values-production.yaml turns all three on.

By hand

Each release carries the dashboards as synaxis-dashboards-<version>.zip. Import each JSON file into your Grafana (Grafana's Dashboards › New › Import), with a Prometheus data source that scrapes Synaxis. The dashboards keep stable ids, so importing a newer version replaces the older one.

See also