Skip to content

Commit

Permalink
fix: store metrics under own registry (not recon) (#266)
Browse files Browse the repository at this point in the history
* fix: store metrics under own registry (not recon)

this requires updating the performance tests as they look at this metric

* chore: forgot to remove the TODO comment when resolving it
  • Loading branch information
dav1do authored Feb 8, 2024
1 parent d7c5556 commit 6f4846a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions store/src/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ pub struct Metrics {
impl Metrics {
/// Register and construct Metrics
pub fn register(registry: &mut Registry) -> Self {
// TODO: a new sub registry that doesn't duplicate recon (need to match for now to keep tests passing)
let sub_registry = registry.sub_registry_with_prefix("recon");
let sub_registry = registry.sub_registry_with_prefix("ceramic_store");

register!(
key_insert_count,
Expand Down

0 comments on commit 6f4846a

Please sign in to comment.