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.
2 parents 18c3741 + 5b036df commit 442ec8cCopy full SHA for 442ec8c
stacks-signer/src/client/stacks_client.rs
@@ -376,10 +376,12 @@ impl StacksClient {
376
"last_sortition" => %last_sortition,
377
);
378
let path = self.tenure_forking_info_path(chosen_parent, last_sortition);
379
- let timer = crate::monitoring::new_rpc_call_timer(
380
- "/v3/tenures/fork_info/:start/:stop",
381
- &self.http_origin,
+ // Use a separate metrics path to allow the same metric for different start and stop hashes
+ let metrics_path = format!(
+ "{}{RPC_TENURE_FORKING_INFO_PATH}/:start/:stop",
382
+ self.http_origin
383
384
+ let timer = crate::monitoring::new_rpc_call_timer(&metrics_path, &self.http_origin);
385
let send_request = || {
386
self.stacks_node_client
387
.get(&path)
0 commit comments