public Map<String, String> getMetatags() {
        Map<String, String> result = new HashMap<>();

        for (Map.Entry<String, String> entry : _metatags.entrySet()) {
            String key = entry.getKey();

            if (!ReservedField.isReservedField(key)) {
                result.put(key, entry.getValue());
            }
        }
        return Collections.unmodifiableMap(result);
    }
public Map < String , String > getMetatags ( ) { Map < String , String > result = new HashMap < > ( ) ; for ( Map . Entry < String , String > entry : _metatags . entrySet ( ) ) { String key = entry . getKey ( ) ; if ( ! ReservedField . isReservedField ( key ) ) { result . put ( key , entry . getValue ( ) ) ; } } return Collections . unmodifiableMap ( result ) ; }
Returns an unmodifiable collection of metatags associated with the metric.

@return  The metatags for a metric. Will never be null but may be empty.