public MetricName tagged ( Map < String , String > add ) { final Map < String , String > tags = new HashMap <> ( add ) ; tags . putAll ( this . tags ) ; return new MetricName ( key , tags ) ; }
Add tags to a metric name and return the newly created MetricName .