This commit adds a new environment variable INFLUXDB_PANIC_CRASH, which when set to a truthy value, e.g., true, TRUE, 1, will prevent the server from recovering from a panic. Recover currently occurs in two places: the HTTP handler and the QueryExecutor. INFLUXDB_PANIC_CRASH will control both. Further, this commit adds _internal stats that will monitor the occurrence of panics all the time (regardless of if INFLUXDB_PANIC_CRASH has been set to true or not). The recovered panic frequency can be inspected with the following queries: SELECT "recoveredPanics" FROM "_internal"."monitor"."httpd"; SELECT "recoveredPanics" FROM "_internal"."monitor"."queryExecutor"; |
||
---|---|---|
.. | ||
collectd | ||
continuous_querier | ||
graphite | ||
httpd | ||
meta | ||
opentsdb | ||
precreator | ||
retention | ||
snapshotter | ||
subscriber | ||
udp |