Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

SentinelOps ingests real-time logs from distributed microservices, detects anomalies using statistical models (z-score + EWMA), and will expose a natural-language incident-query interface (LLM/RAG) for fast triage. Built as a polyglot system (Go, Rust, Python) to demonstrate production patterns across the stack: event-driven ingestion, self-migrating services, batched writes, full observability, and a real CI/CD pipeline with branch protection.

![SentinelOps demo](docs/media/demo.gif)

## What's actually running today

```mermaid
Expand Down
Binary file added docs/media/demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions infra/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,10 @@ services:
environment:
DATABASE_URL: postgres://sentinelops:${TIMESCALE_PASSWORD:-devpassword}@timescaledb:5432/sentinelops
OLLAMA_BASE_URL: http://host.docker.internal:11434
OLLAMA_MODEL: llama3.2:3b
OLLAMA_MODEL: llama3.2:1b
OLLAMA_KEEP_ALIVE: 10m
OLLAMA_NUM_PREDICT: "300"
OLLAMA_TIMEOUT_SECONDS: "180"
OLLAMA_NUM_PREDICT: "120"
OLLAMA_TIMEOUT_SECONDS: "240"
extra_hosts:
- "host.docker.internal:host-gateway"
ports:
Expand Down
2 changes: 1 addition & 1 deletion services/llm-query-python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ COPY app/ ./app/

ENV DATABASE_URL=postgresql://sentinelops:devpassword@timescaledb:5432/sentinelops \
OLLAMA_BASE_URL=http://host.docker.internal:11434 \
OLLAMA_MODEL=llama3.2:3b \
OLLAMA_MODEL=llama3.2:1b \
METRICS_PORT=9300

EXPOSE 9300
Expand Down
6 changes: 3 additions & 3 deletions services/llm-query-python/app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ class Settings(BaseSettings):
"postgresql://sentinelops:devpassword@localhost:5432/sentinelops"
)
ollama_base_url: str = "http://host.docker.internal:11434"
ollama_model: str = "llama3.2:3b"
ollama_model: str = "llama3.2:1b"
ollama_keep_alive: str = "10m"
ollama_num_predict: int = 300
ollama_timeout_seconds: float = 180.0
ollama_num_predict: int = 120
ollama_timeout_seconds: float = 240.0
default_lookback_hours: int = 6
metrics_port: int = 9300

Expand Down
Loading