Skip to content

Commit

Permalink
fix(metrics): use correct event name for dcutr metrics
Browse files Browse the repository at this point in the history
Currently when both the `relay` and `dcutr` features are enabled this generates an error.
  • Loading branch information
dignifiedquire committed Jun 19, 2022
1 parent 96af55a commit 9ed7e70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/metrics/src/dcutr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pub struct Metrics {

impl Metrics {
pub fn new(registry: &mut Registry) -> Self {
let sub_registry = registry.sub_registry_with_prefix("relay");
let sub_registry = registry.sub_registry_with_prefix("dcutr");

let events = Family::default();
sub_registry.register(
Expand Down

0 comments on commit 9ed7e70

Please sign in to comment.