File tree Expand file tree Collapse file tree
crates/extensions/tedge_flows Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ impl FlowsMapperConfig {
6868 /// Panics if the topic prefix is not a valid MQTT topic name
6969 pub fn new ( topic_prefix : & str ) -> Self {
7070 FlowsMapperConfig {
71- statistics_topic : Topic :: new ( & format ! ( "{topic_prefix}/statistics " ) ) . unwrap ( ) ,
71+ statistics_topic : Topic :: new ( & format ! ( "{topic_prefix}/status/metrics " ) ) . unwrap ( ) ,
7272 status_topic : Topic :: new ( & format ! ( "{topic_prefix}/status/flows" ) ) . unwrap ( ) ,
7373 }
7474 }
Original file line number Diff line number Diff line change @@ -372,7 +372,6 @@ async fn interval_executes_when_time_exceeds_interval() {
372372 let count = || {
373373 captured_messages
374374 . retain ( |msg| !msg. topic . as_ref ( ) . contains ( "status" ) )
375- . retain ( |msg| !msg. topic . as_ref ( ) . contains ( "statistics" ) )
376375 . count ( )
377376 } ;
378377
You can’t perform that action at this time.
0 commit comments