public static MetricName build ( String ... parts ) { if ( parts == null || parts . length == 0 ) return MetricName . EMPTY ; if ( parts . length == 1 ) return new MetricName ( parts [ 0 ] , EMPTY_TAGS ) ; return new MetricName ( buildName ( parts ) , EMPTY_TAGS ) ; }
Build a new metric name using the specific path components .