Skip to content

Commit

Permalink
rename call_v3 to sync_call for logging
Browse files Browse the repository at this point in the history
  • Loading branch information
r-birkner committed Oct 7, 2024
1 parent 3b66140 commit d2f67cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metrics/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ fn infer_request_type(path: &str) -> RequestType {
match path {
"/api/v2/canister/:principal/query" => RequestType::Api(RequestTypeApi::Query),
"/api/v2/canister/:principal/call" => RequestType::Api(RequestTypeApi::Call),
"/api/v3/canister/:principal/call" => RequestType::Api(RequestTypeApi::CallV3),
"/api/v3/canister/:principal/call" => RequestType::Api(RequestTypeApi::SyncCall),
"/api/v2/canister/:principal/read_state" => RequestType::Api(RequestTypeApi::ReadState),
"/api/v2/subnet/:principal/read_state" => RequestType::Api(RequestTypeApi::ReadStateSubnet),
"/api/v2/status" => RequestType::Api(RequestTypeApi::Status),
Expand Down

0 comments on commit d2f67cd

Please # to comment.