class StreamsMetricsImpl implements StreamsMetrics {

    @Override
    public void removeSensor(final Sensor sensor) {
        Objects.requireNonNull(sensor, "Sensor is null");
        metrics.removeSensor(sensor.name());

        final Sensor parent = parentSensors.get(sensor);
        if (parent != null) {
            metrics.removeSensor(parent.name());
        }

    }

    public  StreamsMetricsImpl(final Metrics metrics, final String groupName, final Map<String, String> tags);

}