Enable Prometheus metrics on port 2019
This commit is contained in:
15
Caddyfile
15
Caddyfile
@@ -1,4 +1,17 @@
|
||||
# Default Caddyfile - customize as needed
|
||||
# Global options
|
||||
{
|
||||
# Enable Prometheus metrics on :2019
|
||||
servers {
|
||||
metrics
|
||||
}
|
||||
}
|
||||
|
||||
# Admin API with metrics endpoint
|
||||
:2019 {
|
||||
metrics /metrics
|
||||
}
|
||||
|
||||
# Default site
|
||||
:80 {
|
||||
respond "VibeStack Agent - Caddy is running!"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user