lotus-land-story: scrape lolk's caddy metrics
Assisted-by: GLM-5.3 via pi
change tmwpzpxlwrusnqtvkurulrkkstxzstxp
commit e3cbdc0491cfcee926f49f6460a4e1fbe50fe442
author Alpha Chen <alpha@kejadlen.dev>
date
parent ymrutsxr
diff --git a/docs/legacy-of-lunatic-kingdom.md b/docs/legacy-of-lunatic-kingdom.md
index b04fe99..6b7e0e7 100644
--- a/docs/legacy-of-lunatic-kingdom.md
+++ b/docs/legacy-of-lunatic-kingdom.md
@@ -71,10 +71,9 @@ can scrape caddy's metrics endpoint.
 ## Observability
 
 VictoriaMetrics on lotus-land-story scrapes lolk over the tailnet:
-node-exporter on `:9100` and syncthing on `:8384` (see
+node-exporter on `:9100`, syncthing on `:8384`, and caddy on `:2019` (see
 [scrape.yml][scrape]). journald ships to VictoriaLogs through
-journal-upload, which carries caddy's JSON access logs. Caddy's `:2019`
-endpoint is published for the same treatment once it joins a scrape job.
+journal-upload, which carries caddy's JSON access logs.
 
 [scrape]: ../lotus-land-story/templates/scrape.yml
 
diff --git a/lotus-land-story/templates/scrape.yml b/lotus-land-story/templates/scrape.yml
index 6fb1cfd..3c9cc22 100644
--- a/lotus-land-story/templates/scrape.yml
+++ b/lotus-land-story/templates/scrape.yml
@@ -112,7 +112,9 @@ scrape_configs:
 
   - job_name: caddy
     static_configs:
-      - targets: ['caddy:2019']
+      - targets:
+          - caddy:2019
+          - legacy-of-lunatic-kingdom:2019
 
   - job_name: docker
     static_configs: