use of com.sequenceiq.common.api.telemetry.request.TelemetryRequest in project cloudbreak by hortonworks.
the class StackToCreateFreeIpaRequestConverter method getTelemetry.
private TelemetryRequest getTelemetry(Stack stack) {
TelemetryRequest request = null;
Telemetry telemetry = stack.getTelemetry();
if (telemetry != null) {
request = new TelemetryRequest();
request.setFluentAttributes(telemetry.getFluentAttributes());
request.setLogging(getLoggingRequest(telemetry.getLogging()));
request.setMonitoring(getMonitoringRequest(telemetry.getMonitoring()));
request.setFeatures(getFeaturesRequest(telemetry.getFeatures()));
request.setWorkloadAnalytics(getWorkloadAnalyticsRequest(telemetry.getWorkloadAnalytics()));
}
LOGGER.debug("Created telemetry request {} from telemetry {}", request, telemetry);
return request;
}
use of com.sequenceiq.common.api.telemetry.request.TelemetryRequest in project cloudbreak by hortonworks.
the class DistroXClusterCreationTest method telemetry.
private TelemetryRequest telemetry() {
TelemetryRequest telemetry = new TelemetryRequest();
LoggingRequest logging = new LoggingRequest();
logging.setS3(getS3Params());
logging.setStorageLocation(getS3Location());
telemetry.setLogging(logging);
return telemetry;
}
Aggregations