1
0

Netdata + Caddy: add monitoring for http-server

This commit is contained in:
2025-05-17 11:55:38 +03:00
parent 7893349da4
commit eea8db6499
6 changed files with 159 additions and 123 deletions

View File

@ -4,6 +4,12 @@
{
grace_period 15s
admin :2019
# Enable metrics in Prometheus format
# https://caddyserver.com/docs/metrics
metrics
}
# -------------------------------------------------------------------
# Applications

View File

@ -0,0 +1,9 @@
update_every: 5
autodetection_retry: 0
jobs:
- name: caddyproxy
url: http://caddyproxy:2019/metrics
selector:
allow:
- "caddy_http_*"

View File

@ -19,7 +19,7 @@
# cpu cores = 2
# libuv worker threads = 16
# profile = standalone
hostname = rivendell
hostname = {{ host_name }}
# glibc malloc arena max for plugins = 1
# glibc malloc arena max for netdata = 1
# crash reports = all