v.23.1New Feature

Record Server Startup Time in ProfileEvents

Record server startup time in ProfileEvents (ServerStartupMilliseconds). Resolves #43188. #45250 (SmitaRKulkarni).
ClickHouse now records the server startup time as a profile event under ServerStartupMilliseconds.

Why it matters

This feature allows users to measure and monitor the duration of server startup, helping with performance analysis and troubleshooting related to start time.

How to use it

The server startup time is automatically recorded in the ProfileEvents system. Users can query the ServerStartupMilliseconds event from the system metrics without any additional configuration.