public static String comp2topologyName ( String old ) { String [ ] parts = old . split ( DELIM ) ; parts [ 0 ] = MetaType . TOPOLOGY . getV ( ) + parts [ 0 ] . charAt ( 1 ) ; // type + topologyId + comp + task + group + name return concat ( parts [ 0 ] , parts [ 1 ] , EMPTY , "0" , parts [ 5 ] , parts [ 6 ] ) ; }
change component metric name to topology metric name