diff --git a/docs/root/version_history/current.rst b/docs/root/version_history/current.rst index 72d6060e75484..0a13ed9987f94 100644 --- a/docs/root/version_history/current.rst +++ b/docs/root/version_history/current.rst @@ -39,6 +39,7 @@ Bug Fixes *Changes expected to improve the state of the world and are unlikely to have negative effects* * aws_lambda: if `payload_passthrough` is set to ``false``, the downstream response content-type header will now be set from the content-type entry in the JSON response's headers map, if present. +* hot_restart: fix double counting of `server.seconds_until_first_ocsp_response_expiring` and `server.days_until_first_cert_expiring` during hot-restart. This stat was only incorrect until the parent process terminated. * http: port stripping now works for CONNECT requests, though the port will be restored if the CONNECT request is sent upstream. This behavior can be temporarily reverted by setting ``envoy.reloadable_features.strip_port_from_connect`` to false. * http: raise max configurable max_request_headers_kb limit to 8192 KiB (8MiB) from 96 KiB in http connection manager. * listener: fix the crash which could happen when the ongoing filter chain only listener update is followed by the listener removal or full listener update. diff --git a/source/server/server.h b/source/server/server.h index 0c6e027d58ecd..066fb07a844ca 100644 --- a/source/server/server.h +++ b/source/server/server.h @@ -73,8 +73,8 @@ struct ServerCompilationSettingsStats { COUNTER(static_unknown_fields) \ COUNTER(dropped_stat_flushes) \ GAUGE(concurrency, NeverImport) \ - GAUGE(days_until_first_cert_expiring, Accumulate) \ - GAUGE(seconds_until_first_ocsp_response_expiring, Accumulate) \ + GAUGE(days_until_first_cert_expiring, NeverImport) \ + GAUGE(seconds_until_first_ocsp_response_expiring, NeverImport) \ GAUGE(hot_restart_epoch, NeverImport) \ /* hot_restart_generation is an Accumulate gauge; we omit it here for testing dynamics. */ \ GAUGE(live, NeverImport) \