cluster metrics are disabled by default, which is cumbersome. This PR introduces a configurable enable_cluster_metrics that is true by default.
On top of that, since introduction of Kawa, Sōzu would not register 4xx and 5xx HTTP statuses in worker and cluster metrics. For instance, Sōzu would respond with a default 404 but would NOT register this event in metrics. This is fixed here.
cluster metrics are disabled by default, which is cumbersome. This PR introduces a configurable
enable_cluster_metrics
that istrue
by default.On top of that, since introduction of Kawa, Sōzu would not register 4xx and 5xx HTTP statuses in worker and cluster metrics. For instance, Sōzu would respond with a default 404 but would NOT register this event in metrics. This is fixed here.