WIP: feat(storage01): Init victoria-metrics DB #160
1 changed files with 16 additions and 0 deletions
16
modules/dgn-monitoring/default.nix
Normal file
16
modules/dgn-monitoring/default.nix
Normal 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 = { };
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue