Added local prometheus for eko
This commit is contained in:
@@ -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";
|
||||
|
||||
6
modules/eko-prometheus.yml
Normal file
6
modules/eko-prometheus.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
scrape_configs:
|
||||
- job_name: eko
|
||||
scrape_interval: 3s
|
||||
static_configs:
|
||||
- targets:
|
||||
- localhost:2112
|
||||
Reference in New Issue
Block a user