We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec15614 commit e1f681cCopy full SHA for e1f681c
graph-gateway/src/client_query.rs
@@ -697,9 +697,12 @@ async fn handle_indexer_query_inner(
697
ctx.response_time = Instant::now() - start_time;
698
699
let deployment = selection.indexing.deployment.to_string();
700
- with_metric(&METRICS.indexer_query.duration, &[&deployment], |hist| {
701
- hist.observe(ctx.response_time.as_millis() as f64)
702
- });
+ let indexer = format!("{:?}", selection.indexing.indexer);
+ with_metric(
+ &METRICS.indexer_query.duration,
703
+ &[&deployment, &indexer],
704
+ |hist| hist.observe(ctx.response_time.as_millis() as f64),
705
+ );
706
707
let response = result?;
708
if response.status != StatusCode::OK.as_u16() {
0 commit comments