Health monitoring
#
OverviewOften REST API will be situated behind a loadbalancer, which will require a
monitor URL for its configuration. Having loadbalancer monitor actual REST end
point, typically running on port 9000, will cause logsto become excessively
noisy on one hand. On the other, configuring per-URL logging in QuestDB would
have negative impact on server's latency. Instead we opted to create min
HTTP
server. It runs embedded and has its own log and thread pool configuration.
#
UsageOut of box QuestDB will reply to any HTTP GET
request to port 9003
with
HTTP 200
.
/hello
can be anything, the server will ignore the path
#
ConfigurationThe configuration section for the min
HTTP server is available in the
reference section.