a06d4dea16
The flux query controller was updated to include a Shutdown method a while ago. Explicitly handle query controller creation and shutdown where applicable. In influxd, this ensures that outstanding queries are handled before the process dies. In tests, this ensures that query controller goroutines aren't leaked, which drastically simplifies reading full stack traces. This change also registers query controller metrics with the prometheus registry in influxd. |
||
---|---|---|
.. | ||
controller.go |