diff --git a/lotus-land-story/gitea.yml b/lotus-land-story/gitea.yml
index ce347f7..76f6a83 100644
--- a/lotus-land-story/gitea.yml
+++ b/lotus-land-story/gitea.yml
@@ -53,6 +53,7 @@
USER_UID: "{{ git_user.uid }}"
USER_GID: "{{ git_user.group }}"
GITEA__mailer__PASSWD: "{{ gitea.mailer_password }}"
+ GITEA__metrics__TOKEN: "{{ gitea.metrics_token }}"
volumes:
- /mnt/lotus-land-story/gitea:/data
- /etc/timezone:/etc/timezone:ro
diff --git a/lotus-land-story/templates/prometheus.yml b/lotus-land-story/templates/prometheus.yml
index 0106163..21284a3 100644
--- a/lotus-land-story/templates/prometheus.yml
+++ b/lotus-land-story/templates/prometheus.yml
@@ -37,11 +37,6 @@ scrape_configs:
static_configs:
- targets: ['miniflux:8080']
- # - job_name: woodpecker
- # bearer_token: {{ woodpecker.api_token }}
- # static_configs:
- # - targets: ['woodpecker-server:8000']
-
- job_name: authelia
static_configs:
- targets: ['authelia:9959']
@@ -56,15 +51,6 @@ scrape_configs:
# target_label: __address__
# replacement: "[$1]:9100"
- - job_name: akkoma
- scheme: https
- authorization:
- credentials: {{ prometheus.akkoma.access_token }}
- metrics_path: /api/v1/akkoma/metrics
- static_configs:
- - targets:
- - {{ prometheus.akkoma.target }}
-
- job_name: paperless
metrics_path: /flower/metrics
static_configs:
@@ -84,3 +70,8 @@ scrape_configs:
static_configs:
- targets:
- cadvisor:8080
+
+ - job_name: gitea
+ bearer_token: {{ gitea.metrics_token }}
+ static_configs:
+ - targets: ['gitea:3000']