Skip to content

Commit

Permalink
out of index
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
  • Loading branch information
bufferflies authored Nov 24, 2023
1 parent 9997865 commit df91682
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ fn poll_queue(tx: mpsc::Sender<CompletionQueue>) {
.to_owned();
let grpc_pool_io_handle_duration = GRPC_POOL_IO_HANDLE_DURATION.with_label_values(&[&name]);
let grpc_pool_execute_duration = GRPC_POOL_EXECUTE_DURATION.with_label_values(&[&name]);
let grpc_event_counter = ["batch", "request", "unary", "stream", "finish"]
let grpc_event_counter = ["batch", "request", "unary", "abort", "action", "spawn"]
.map(|event| metrics::GRPC_POOL_EVENT_COUNT_VEC.with_label_values(&[&name, event]));
let grpc_task_wait_duration = GRPC_TASK_WAIT_DURATION.with_label_values(&[&name]);

Expand Down
2 changes: 1 addition & 1 deletion src/task/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ impl CallTag {
}
}

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

0 comments on commit df91682

Please sign in to comment.