private long getAverageDataVolumeFromAuditInfo(String url) {
        log.debug("Requesting audit data from URL: {}", url);
        try (CloseableHttpClient httpClient = HttpClients.createDefault()) {
            HttpGet httpGet = new HttpGet(url);
            try (CloseableHttpResponse response = httpClient.execute(httpGet)) {
                return parseResponseAndCalculateAverageDataVolume(response);
            } catch (IOException e) {
                log.error("Error executing HTTP request to audit API: {}", url, e);
            }
        } catch (IOException e) {
            log.error("Error creating or closing HTTP client: {}", url, e);
        }
        return DEFAULT_ERROR_DATA_VOLUME;
    }
Request audit data from inlong audit API, parse the response and return the total count in the given time range.

@param url The URL to request data from
@return The total count of the audit data
inlong-manager/manager-plugins/base/src/main/java/org/apache/inlong/manager/plugin/flink/FlinkParallelismOptimizer.java