feat: add Prometheus, Grafana, and Tailscale monitoring stack
- Install Prometheus + Grafana via kube-prometheus-stack (ClusterIP only, no public ingress) - Deploy Tailscale Operator for secure VPN access to internal services - Add CNPG/PostgreSQL monitoring dashboards - Add vLLM inference monitoring dashboards (tokens, latency, GPU) - Add Cilium networking dashboards (policy, traffic, drops) - Update infra-controllers staging kustomization to include all controllers - Add monitoring-configs Flux sync for dashboard deployment - Update README with monitoring architecture and access instructions - Remove broken stale monitoring files (Azure Key Vault refs, wrong domains) Access: kubectl port-forward or Tailscale VPN (replace auth key before deploy)
This commit is contained in:
parent
60fcc0bd7f
commit
6183159974
37 changed files with 4207 additions and 212 deletions
21
apps/vwap-monitor/Dockerfile
Normal file
21
apps/vwap-monitor/Dockerfile
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
FROM python:3.13-slim
|
||||
|
||||
LABEL maintainer="sirius0xdev" \
|
||||
description="VWAP Wave Breach Scanner — monitors Gold, NASDAQ, S&P, Crude Oil"
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY app/requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY app/scanner.py .
|
||||
|
||||
# Default scan interval: 120s (2 min), threshold: 2σ
|
||||
ENV SCAN_INTERVAL_SEC=120 \
|
||||
BREACH_THRESHOLD=2.0
|
||||
|
||||
# Health check: ensure process is alive
|
||||
HEALTHCHECK --interval=60s --timeout=10s --retries=3 \
|
||||
CMD ["python3", "-c", "import os; assert os.path.exists('/proc/1/fd/0')"]
|
||||
|
||||
CMD ["python3", "scanner.py"]
|
||||
Loading…
Reference in a new issue