mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-06 13:22:57 +00:00
chore: http header with metrics (#3536)
* chore: bring write cost to output * chore: add write cost to greptimev1result * chore: add metrics to influxdb write resp header * chore: add metrics to prom store * chore: add metrics to otlp * chore: add debug log * fix: prom remote read with output * fix: prom queries don't output metrics header * chore: extract header value * chore: refactor code * chore: fix cr issue
This commit is contained in:
@@ -64,8 +64,8 @@ mod test {
|
||||
.unwrap()
|
||||
.is_ok());
|
||||
|
||||
let resp = instance.metrics(req, ctx.clone()).await.unwrap();
|
||||
assert!(resp.partial_success.is_none());
|
||||
let resp = instance.metrics(req, ctx.clone()).await;
|
||||
assert!(resp.is_ok());
|
||||
|
||||
let mut output = instance
|
||||
.do_query(
|
||||
|
||||
Reference in New Issue
Block a user