14 lines
375 B
Nix
14 lines
375 B
Nix
{config, ...}: {
|
|
config.services.victoriametrics = {
|
|
enable = true;
|
|
|
|
scrapeConfigs = {
|
|
gitea = {
|
|
targets = ["127.0.0.1:${toString config.services.gitea.settings.server.HTTP_PORT}"];
|
|
extraSettings.authorization.credentials_file = config.sops.secrets."gitea/metrics-token".path;
|
|
};
|
|
coturn.targets = ["127.0.0.1:9641"];
|
|
};
|
|
};
|
|
}
|