fn extract_bucket_from_query(query: &str) -> Option<&str>
InfluxDB v2 uses “bucket” instead of “db” https://docs.influxdata.com/influxdb/v1/tools/api/#apiv2write-http-endpoint