repos / pico

pico services mono repo
git clone https://github.com/picosh/pico.git

commit
dc6d15a
parent
d7f3e5c
author
Antonio Mika
date
2025-07-10 12:45:42 -0400 EDT
Add imgproxy metrics
2 files changed,  +20, -0
M caddy/Caddyfile.pgs
+10, -0
 1@@ -84,4 +84,14 @@
 2 		rewrite * /_metrics
 3 		reverse_proxy web:3000
 4 	}
 5+
 6+	@imgproxymetrics {
 7+		host {$APP_DOMAIN}
 8+		path /_imgproxy/metrics
 9+	}
10+
11+	handle @imgproxymetrics {
12+		rewrite * /metrics
13+		reverse_proxy imgproxy:8081
14+	}
15 }
M caddy/Caddyfile.prose
+10, -0
 1@@ -86,6 +86,16 @@
 2 		rewrite * /_metrics
 3 		reverse_proxy web:3000
 4 	}
 5+
 6+	@imgproxymetrics {
 7+		host {$APP_DOMAIN}
 8+		path /_imgproxy/metrics
 9+	}
10+
11+	handle @imgproxymetrics {
12+		rewrite * /metrics
13+		reverse_proxy imgproxy:8081
14+	}
15 }
16 
17 monitoring.{$MONITORING_APP_DOMAIN}, prometheus.{$MONITORING_APP_DOMAIN}, grafana.{$MONITORING_APP_DOMAIN} {