Couchdb payload telemetry query optimisation for webserver glue.