From 44b3936107dec66c19ec76e14c2118f44ff54dbe Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Sun, 19 Nov 2023 14:10:15 -0800 Subject: [PATCH] ingest akkoma metrics --- lotus-land-story/templates/prometheus.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lotus-land-story/templates/prometheus.yml b/lotus-land-story/templates/prometheus.yml index e190c1b..8f11237 100644 --- a/lotus-land-story/templates/prometheus.yml +++ b/lotus-land-story/templates/prometheus.yml @@ -55,3 +55,12 @@ scrape_configs: # - source_labels: [__meta_linode_public_ipv6] # 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 }}