Skip to content

Commit 792ea96

Browse files
fix(metrics): use correct event name for dcutr metrics
Currently when both the `relay` and `dcutr` features are enabled this generates an error.
1 parent 2868e7b commit 792ea96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misc/metrics/src/dcutr.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ pub struct Metrics {
2929

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

3434
let events = Family::default();
3535
sub_registry.register(

0 commit comments

Comments
 (0)