Core observability and AIOps stack
The core stack supplies the services consumed by the GenUI companion: Grafana,
Prometheus, Loki, Tempo, OpenTelemetry Collector, Alertmanager, the Ollama
gateway, MCP servers, and PostgreSQL with pgvector.
DOCKER HOST PLATFORM Linux Ollama Gateway (Envoy) Port :11435 • v1.40.2 OTLP Traces & RPS Metrics Host Native Ollama 0.0.0.0:11434 • Host GPU Llama 3.2 • nomic-embed-text AI Coding Agents Claude Desktop • Cursor Cline • Roo Code • Chainlit SSE Transport (v2.1) Grafana MCP Server Port :8000/sse • v2.1.1 Prometheus MCP Server Port :8080/sse • v0.18.0 Caddy v2 Proxy :3000, :9090, :9093 Bcrypt Basic Auth v2.11.7-alpine Grafana 13.3.0 Port :3000 • Dashboards Explore • LogQL & TraceQL Prometheus v3.15.1 Port :9090 • PromQL TSDB Head Compaction • 200h Ret Alertmanager v0.34.1 Port :9093 • Deduplication Webhooks & Routing Docker Workloads & Hosts Logporter v1.5.0 :9333 • Container CPU/Mem/Logs Node Exporter v1.12.1 :9100 • Linux Kernel/FS/IO OTel Collector Contrib v0.164.0 OTLP Ingest :4317 / :4318 Pipelines: Traces • Logs • Metrics Prom Exp :8889 Tempo v3.1.1 :3200 • Distributed Tracing WAL & Parquet storage Loki v3.7.9 :3100 • TSDB v13 Schema Structured metadata Keep AIOps v0.54.3 UI :8082 • API :8080 Alert Enrichment & Correlation Mattermost Team 12.0.1 Port :8065 • Incident Channels Automated Webhooks & ChatOps PostgreSQL 17 + pgvector (Unified Database) Container: mattermost-db • Port :5432 • pgvector/pgvector:pg17 Keep AIOps Store db: keep • alert events Mattermost Storage db: mattermost • users/chat RAG Vector Embeddings db: rag_storage • vector(768) HNSW postgres-exporter v0.20.1 :9187 • pg_stat_statements Buffer hits • locks • latency
Telemetry flow
Exporters and instrumented applications send metrics, logs, and traces.
Prometheus stores metrics, Loki stores logs, and Tempo stores traces.
Grafana queries those backends for dashboards and investigation.
Alertmanager routes Prometheus alerts to incident-management integrations.
The Grafana and Prometheus MCP servers expose read-oriented investigation tools to authorized AI clients.
GenUI dependencies
The companion Compose file expects these DNS names on the external
monitor-net network:
Service name Purpose ollama-gatewayOpenAI-compatible generation and Ollama embeddings. mattermost-dbPostgreSQL/pgvector database containing rag_storage. mcp-grafanaGrafana MCP SSE endpoint. prometheus-mcpPrometheus MCP SSE endpoint.
The current repository does not contain the core Compose definition. Deploy or
attach compatible core services before starting compose-genui.yaml.