Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aiops-service

Go service for XinFin/XDC node stall incidents. Handles Slack alerts and workflows, pulls peer logs from Loki, generates RCA with Claude, and publishes write-ups to Confluence.

Quick start

cp .env.example .env
# fill in Slack, Confluence, Loki, and optional Claude settings

docker compose up -d --build

Service listens on http://localhost:8080 (or AIOPS_PORT).

Layout

Path Purpose
cmd/app Entrypoint
internal/ Slack, Loki, Confluence, RCA, store
schema/ Postgres SQL (applied on first boot)
docker-compose.yaml App + Postgres

Runtime notes

  • Secrets live in .env (gitignored). Commit only .env.example.
  • Clone or mount node repos under REPOS_HOST_DIR (default ../repositories) for git-diff / Claude CLI context.
  • Claude can run via API (CLAUDE_PROVIDER=api) or host CLI (cli); CLI mounts are configured in .env.

About

AIOps service for XinFin node stall incidents — Slack alerts, Loki log RCA, and Confluence write-up

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages