Added prometheus config and fixed errors

This commit is contained in:
2025-08-03 18:48:48 +03:00
parent 0f515f99c9
commit 2ad095a2f9
3 changed files with 13 additions and 3 deletions

6
flake.lock generated
View File

@@ -28,11 +28,11 @@
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1754235895,
"narHash": "sha256-wvbXdNJndHeNFLAkHE3kzEwLcuY5QtWamSFvtW6f5N8=",
"lastModified": 1754236067,
"narHash": "sha256-i3T9eFrMwQdl46zSdJivRpG2Myab8eaG2OCffSQy2bk=",
"owner": "kyren223",
"repo": "eko",
"rev": "2c2dddfb192602dea6181956423023ee1d928a73",
"rev": "d427beaebabb5f68c3817b96c9f528ed36169ceb",
"type": "github"
},
"original": {

View File

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

View File

@@ -1,5 +1,9 @@
{ lib, config, ... }: {
imports = [
./grafana-alloy.nix
];
options = {
eko.enable = lib.mkEnableOption "enables eko";
};