public void setMetatags ( Map < String , String > metatags , String key ) { if ( metatags != null ) { TSDBEntity . validateTags ( metatags ) ; _metatags . clear ( ) ; _metatags . putAll ( metatags ) ; _key = key ; } }
Replaces the metatags for a metric . Metatags cannot use any of the reserved tag names .