Skip to content

Commit df91682

Browse files
authored
out of index
Signed-off-by: GitHub <[email protected]>
1 parent 9997865 commit df91682

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/env.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ fn poll_queue(tx: mpsc::Sender<CompletionQueue>) {
2626
.to_owned();
2727
let grpc_pool_io_handle_duration = GRPC_POOL_IO_HANDLE_DURATION.with_label_values(&[&name]);
2828
let grpc_pool_execute_duration = GRPC_POOL_EXECUTE_DURATION.with_label_values(&[&name]);
29-
let grpc_event_counter = ["batch", "request", "unary", "stream", "finish"]
29+
let grpc_event_counter = ["batch", "request", "unary", "abort", "action", "spawn"]
3030
.map(|event| metrics::GRPC_POOL_EVENT_COUNT_VEC.with_label_values(&[&name, event]));
3131
let grpc_task_wait_duration = GRPC_TASK_WAIT_DURATION.with_label_values(&[&name]);
3232

src/task/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ impl CallTag {
184184
}
185185
}
186186

187-
pub fn report(&self, counter: &[GenericCounter<AtomicU64>; 5], wait_his: &Histogram) {
187+
pub fn report(&self, counter: &[GenericCounter<AtomicU64>; 6], wait_his: &Histogram) {
188188
match self {
189189
CallTag::Batch(_) => counter[0].inc(),
190190
CallTag::Request(_) => counter[1].inc(),

0 commit comments

Comments
 (0)