Added local prometheus for eko

This commit is contained in:
2025-07-12 14:10:57 +03:00
parent d27477517f
commit 66704372f7
2 changed files with 10 additions and 0 deletions

View File

@@ -75,6 +75,10 @@
services.grafana.enable = true;
services.grafana.settings.server.http_port = 3030;
# Prometheus for eko
services.prometheus.enable = true;
services.prometheus.configText = builtins.readFile ./eko-prometheus.yml;
# Alloy service for eko
systemd.services.alloy = {
description = "Alloy";

View File

@@ -0,0 +1,6 @@
scrape_configs:
- job_name: eko
scrape_interval: 3s
static_configs:
- targets:
- localhost:2112