influxdb/influxdb3
Trevor Hilton e0465843be
feat: `/ping` API to serve version and revision (#24864)
* feat: /ping API to serve version

The /ping API was added, which is served at GET and
POST methods. The API responds with a JSON body
containing the version and revision of the build.

A new crate was added, influxdb3_process, which
takes the process_info.rs module from the influxdb3
crate, and puts it in a separate crate so that other
crates (influxdb3_server) can depend on it. This was
needed in order to have access to the version and
revision values, which are generated at build time,
in the HTTP API code of influxdb3_server.

A E2E test was added to check that /ping works.

E2E TestServer can now have logs emitted using the
TEST_LOG environment variable.
2024-04-01 16:57:10 -04:00
..
src feat: `/ping` API to serve version and revision (#24864) 2024-04-01 16:57:10 -04:00
tests/server feat: `/ping` API to serve version and revision (#24864) 2024-04-01 16:57:10 -04:00
Cargo.toml feat: `/ping` API to serve version and revision (#24864) 2024-04-01 16:57:10 -04:00