Skip to content

intuitive-devops/aiops

Repository files navigation

bunnyhop aiops

Customer-facing demo stack for an AiOps mitigation loop:

  1. Run deterministic sequence (code-two/run)
  2. Persist decision artifacts (decision-log.jsonl)
  3. Expose decision status over HTTP (code-two/demo-api)
  4. Publish the API securely via Cloudflare Tunnel + DNS

Prerequisites

  • .NET SDK 9+
  • kubectl (optional for Kubernetes portion)
  • cloudflared (for public DNS exposure)

Quickstart (local)

From repo root:

scripts/demo/run-demo-sequence.sh

This writes decision events to:

code-two/run/logs/decision-log.jsonl

In a second shell, run the API:

scripts/demo/run-demo-api.sh

API endpoints:

  • GET /health
  • GET /api/status
  • GET /api/decisions?limit=25

Default local URL:

http://127.0.0.1:8787/api/status

Cloudflare Tunnel + DNS

  1. Authenticate cloudflared once:
cloudflared tunnel login
  1. Create/update tunnel config and DNS route:
scripts/cloudflare/setup-tunnel.sh bunnyhop-demo bunnyhop.work http://127.0.0.1:8787
  1. Run the tunnel:
scripts/cloudflare/run-tunnel.sh bunnyhop-demo

Your DNS hostname (bunnyhop.work) will route to the local demo API while the tunnel is running.

Monitoring (Grafana + Kubernetes Dashboard)

Bring up the monitoring stack in your minikube cluster:

scripts/demo/setup-monitoring.sh

In another shell, run the demo API so Prometheus can scrape decision metrics:

scripts/demo/run-demo-api.sh

Then open Grafana/Prometheus and Kubernetes Dashboard:

scripts/demo/open-monitoring.sh

Grafana dashboard included: bunnyhop aiops overview
Grafana login: admin / bunnyhop

Demo tuning via env vars

Override runtime behavior without editing XML:

AIOPS_LIFETIME=2 AIOPS_DURATION=3000 AIOPS_MATRIXLOOPS=10000 scripts/demo/run-demo-sequence.sh

Override log location:

AIOPS_DECISION_LOG=/tmp/decision-log.jsonl scripts/demo/run-demo-sequence.sh

Legacy notes

Original planning and delivery docs remain in:

  • PRODUCT_DEMO_PLAN.md
  • DEMO_RUNBOOK.md

About

The compendium of resources for podman-based AiOps.

Resources

License

Stars

Watchers

Forks

Contributors

Languages