From 0e1babaffe963f16b799a11238eb19e8d9a96a93 Mon Sep 17 00:00:00 2001 From: Francesco Leacche Date: Thu, 17 Jul 2025 11:32:57 +0200 Subject: [PATCH 1/2] fix metrics_identifier --- stackslib/src/net/api/liststackerdbreplicas.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stackslib/src/net/api/liststackerdbreplicas.rs b/stackslib/src/net/api/liststackerdbreplicas.rs index 4af8f6ad0a..7ba2fb0b05 100644 --- a/stackslib/src/net/api/liststackerdbreplicas.rs +++ b/stackslib/src/net/api/liststackerdbreplicas.rs @@ -62,7 +62,7 @@ impl HttpRequest for RPCListStackerDBReplicasRequestHandler { } fn metrics_identifier(&self) -> &str { - "/v2/stackedb/:principal/:contract_name/replicas" + "/v2/stackerdb/:principal/:contract_name/replicas" } /// Try to decode this request. From b979ca6f44abc521bdb630a80277718ac2cef78f Mon Sep 17 00:00:00 2001 From: Francesco Leacche Date: Fri, 25 Jul 2025 11:12:35 +0100 Subject: [PATCH 2/2] add fix to changelog --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 738439f18c..1334632823 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to the versioning scheme outlined in the [README.md](README.md). +## Unreleased + +### Fixed + +- Fixed a typo in the metrics_identifier route from `/v2/stackedb/:principal/:contract_name/replicas` to `/v2/stackerdb/:principal/:contract_name/replicas`. Note: This may be a breaking change for systems relying on the incorrect route. Please update any metrics tools accordingly. + ## [3.2.0.0.0] ### Added