Skip to content

Commit 1eb5330

Browse files
committed
fix promethus issue
1 parent 7ecf2b0 commit 1eb5330

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/handlers/airplane.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ impl FlightService for AirServiceImpl {
227227

228228
let time = time.elapsed().as_secs_f64();
229229
QUERY_EXECUTE_TIME
230-
.with_label_values(&["flight-query", &stream_name])
230+
.with_label_values(&[&format!("flight-query-{}", stream_name)])
231231
.observe(time);
232232

233233
Ok(Response::new(Box::pin(output) as Self::DoGetStream))

0 commit comments

Comments
 (0)