Is it possible to report multiple websites metrics?
Here is my Caddyfile:
(global-tls) {
tls {
dns route53
wildcard
}
}
(global-logs) {
log / stdout "{combined}"
errors stderr
}
(global-headers) {
header / Strict-Transport-Security "max-age=31536000;"
}
site1.io {
import global-tls
import global-logs
import global-headers
gzip
proxy / srv+https://site1.backend {
insecure_skip_verify
transparent
}
datadog {
namespace caddy_site1.
}
}
site2.io {
import global-tls
import global-logs
import global-headers
gzip
proxy / srv+https://site2.backend {
transparent
}
datadog {
namespace caddy_site2.
}
}
Using this config I only see caddy_site2. metrics in Datadog.
The primarly use of Caddy for us is to act as a proxy, so we will have multiple sites being served and wanted metrics for each of them in separate namespaces.
Is it possible?
Is it possible to report multiple websites metrics?
Here is my Caddyfile:
Using this config I only see
caddy_site2.metrics in Datadog.The primarly use of Caddy for us is to act as a proxy, so we will have multiple sites being served and wanted metrics for each of them in separate namespaces.
Is it possible?