aboutsummaryrefslogtreecommitdiff
path: root/modules/services/prometheus/default.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-24 14:01:01 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-24 14:01:01 -0700
commit15c5591c6e57031b6cd8ce85cbb3a38c9cdfa23d (patch)
tree2661e8a81f07c793a963c3b71792ce2399d55c9a /modules/services/prometheus/default.nix
parentbackups: do backups for the laptop (diff)
downloadinfra-15c5591c6e57031b6cd8ce85cbb3a38c9cdfa23d.tar.gz
gitea: enable metric endpoint
Move configuration for the scraper into the gitea module itself.
Diffstat (limited to 'modules/services/prometheus/default.nix')
-rw-r--r--modules/services/prometheus/default.nix6
1 files changed, 0 insertions, 6 deletions
diff --git a/modules/services/prometheus/default.nix b/modules/services/prometheus/default.nix
index 37cbbac..0c66f47 100644
--- a/modules/services/prometheus/default.nix
+++ b/modules/services/prometheus/default.nix
@@ -132,12 +132,6 @@ in {
relabel_configs = relabelConfigs;
}
{
- job_name = "gitea";
- static_configs = [{ targets = [ "192.168.6.20:8002" ]; }];
- relabel_configs = relabelConfigs;
- }
-
- {
job_name = "dnsd";
static_configs = [{ targets = [ "192.168.6.1:8053" ]; }];
relabel_configs = relabelConfigs;