feat(modules): Rework the monitoring agent
All checks were successful
Check meta / check_meta (pull_request) Successful in 20s
Check meta / check_dns (pull_request) Successful in 20s
lint / check (push) Successful in 23s
build configuration / build_and_cache_storage01 (pull_request) Successful in 1m16s
build configuration / build_and_cache_geo02 (pull_request) Successful in 1m7s
build configuration / build_and_cache_geo01 (pull_request) Successful in 1m14s
build configuration / build_and_cache_rescue01 (pull_request) Successful in 1m20s
build configuration / build_and_cache_compute01 (pull_request) Successful in 1m40s
build configuration / build_and_cache_vault01 (pull_request) Successful in 1m20s
build configuration / build_and_cache_bridge01 (pull_request) Successful in 1m4s
build configuration / build_and_cache_web02 (pull_request) Successful in 1m12s
build configuration / build_and_cache_web03 (pull_request) Successful in 1m7s
lint / check (pull_request) Successful in 23s
build configuration / build_and_cache_web01 (pull_request) Successful in 1m45s

This commit is contained in:
Tom Hubrecht 2024-10-21 19:30:28 +02:00
parent 4a102117a4
commit f48cd0ddb3
Signed by: thubrecht
SSH key fingerprint: SHA256:r+nK/SIcWlJ0zFZJGHtlAoRwq1Rm+WcKAm5ADYMoQPc

View file

@ -0,0 +1,16 @@
{ config, ... }:
{
services.vmagent = {
enable = true;
remoteWrite = {
url = "https://victoria-metrics.dgnum.eu";
basicAuthUsername = "";
basicAuthPasswordFile = config.age.secrets."vmagent-aut_password_file".path;
};
# FIXME: Write the actual configuration
prometheusConfig = { };
};
}