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.
1 parent 5e6c689 commit f7cdbacCopy full SHA for f7cdbac
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 seperate 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