diff --git a/manifests/monitoring-civo/promtail.yaml b/manifests/monitoring-civo/promtail.yaml index 403a216..72b2cec 100644 --- a/manifests/monitoring-civo/promtail.yaml +++ b/manifests/monitoring-civo/promtail.yaml @@ -126,6 +126,28 @@ data: request_host: request_method: response_status: + - match: + selector: '{app="traefik"}' + stages: + - json: + expressions: + request_host: RequestHost + request_path: RequestPath + request_method: RequestMethod + response_status: OriginStatus + - drop: + source: "request_path" + value: "/healthz" + - drop: + source: "request_path" + value: "/health" + - drop: + source: "request_path" + value: "/ping" + - labels: + request_host: + request_method: + response_status: kubernetes_sd_configs: - role: pod relabel_configs: