@Override
    public MetricsRecordBuilderImpl addRecord(String name) {
        boolean acceptable = recordFilter == null || recordFilter.accepts(name);
        MetricsRecordBuilderImpl rb = new MetricsRecordBuilderImpl(name, recordFilter, metricFilter, acceptable);
        if (acceptable) {
            add(rb);
        }
        return rb;
    }