Skip to main content
HealOps supports two integration paths. Choose based on whether the credentials live in the cloud or on the machine where your monitoring tools run.

How the agent knows where to look

This is the most important thing to understand before setting up the local agent. HealOps does not scan arbitrary log files on disk. Instead, it works in two modes depending on how alerts reach it: Your monitoring tool (Datadog, Grafana, PagerDuty, Alertmanager) detects a problem and pushes an alert to the local agent via webhook. The alert payload tells HealOps what broke — which service, which host, which alert rule fired, and when. HealOps then uses your configured integrations to query the relevant data sources using those details:
  • Grafana Loki → fetch logs for the affected service around the alert time
  • Datadog → fetch metrics and APM traces for the affected service
  • Kubernetes → check pod status and recent events
  • Sentry → look for correlated error events
  • AWS CloudWatch → check infrastructure metrics
The LLM reasons over that evidence to produce the RCA. Your raw logs never leave your machine — only the RCA summary is sent to the cloud.
Setup: configure healops integrations setup <service> for each tool, then run healops start and point your monitoring tool’s webhook at http://<your-machine>:8787/webhook/<source>.

Mode 2 — Direct log file watching (healops hermes watch)

For applications that write to a local log file (Python services, batch jobs, pipelines), HealOps can tail the file directly and detect incidents without needing a monitoring tool:
HealOps reads the log file on your machine, classifies entries using an AI model, and when it detects a HIGH or CRITICAL incident it runs an investigation and can send alerts to Telegram. You tell HealOps exactly which file to watch via --log-path. It only reads that specific file.

Two integration paths

OAuth/API key integrations (Slack, GitHub, Datadog webhook, PagerDuty) are connected via app.healops.ai/integrations — paste the credentials and they’re stored encrypted in AWS Secrets Manager. CLI-based integrations (Grafana with local credentials, on-prem Kubernetes, private databases) require HealOps to run on a machine that can reach those services. The local agent model below covers this path.

Local agent setup

Step 1 — Install HealOps

Step 2 — Configure LLM + integrations

The onboarding wizard walks you through selecting an LLM provider (Anthropic, OpenAI, Ollama, etc.) and connecting observability integrations — Grafana, Datadog, Sentry, AWS, and more. You can also set up individual integrations at any time:

Step 3 — Get your ingest token

The ingest token lets the local agent push investigation results to your app.healops.ai dashboard.
  1. Sign in to app.healops.ai
  2. Go to Settings → API Keys
  3. Create a new key with the Ingest scope
  4. Add it to your environment:
Or add it to your .env file:

Step 4 — Start the local agent

The agent starts a local HTTP server on localhost:8787 and prints a summary:
Options:
Environment variable overrides: HEALOPS_AGENT_PORT, HEALOPS_AGENT_HOST.

Step 5 — Point your monitoring tool at the agent

Configure a webhook notification in your monitoring tool: When an alert fires, HealOps:
  1. Receives the webhook payload
  2. Runs a full RCA investigation locally using your configured integrations
  3. Pushes the result to your app.healops.ai dashboard via HEALOPS_INGEST_TOKEN

How it works

The investigation runs entirely on your machine using your local integration credentials. Only the final RCA result (root cause, recommendations, evidence summary) is sent to the cloud — your raw metrics, logs, and trace data never leave your infrastructure.

Run as a background service

systemd (Linux)

launchd (macOS)

Docker


Troubleshooting

healops start exits immediately with “uvicorn is required” Install the standard extras:
Alerts arrive but no investigation runs
  • Check that LLM_PROVIDER and the matching API key are set: healops health
  • Verify integrations are configured: healops integrations verify <service>
  • Run a test investigation manually: healops investigate -i tests/e2e/kubernetes/fixtures/datadog_k8s_alert.json
Results don’t appear in the dashboard
  • Confirm HEALOPS_INGEST_TOKEN is set and valid
  • Check the agent output for ↑ pushed to dashboard or an error message
  • Test with curl -X POST http://localhost:8787/webhook -H 'Content-Type: application/json' -d '{"title":"test alert"}'