class ProcessorNodeMetrics {

    public static Sensor createSensor(final String threadId,
                                      final String taskId,
                                      final String processorNodeId,
                                      final StreamsMetricsImpl streamsMetrics) {
        if (streamsMetrics.version() == Version.FROM_0100_TO_24) {
            return throughputAndLatencySensorWithParent(
                threadId,
                taskId,
                processorNodeId,
                CREATE,
                CREATE_RATE_DESCRIPTION,
                CREATE_TOTAL_DESCRIPTION,
                CREATE_AVG_LATENCY_DESCRIPTION,
                CREATE_MAX_LATENCY_DESCRIPTION,
                RecordingLevel.DEBUG,
                streamsMetrics);
        }
        return emptySensor(threadId, taskId, processorNodeId, CREATE, RecordingLevel.DEBUG, streamsMetrics);
    }

    private  ProcessorNodeMetrics();

}