| Modifier and Type | Field and Description |
|---|---|
protected CommandExecutor |
commandExecutor |
protected Data |
data |
protected org.camunda.connect.spi.Connector<? extends org.camunda.connect.spi.ConnectorRequest<?>> |
httpConnector |
protected static TelemetryLogger |
LOG |
protected String |
telemetryEndpoint |
| Constructor and Description |
|---|
TelemetrySendingTask(CommandExecutor commandExecutor,
String telemetryEndpoint,
Data data,
org.camunda.connect.spi.Connector<? extends org.camunda.connect.spi.ConnectorRequest<?>> httpConnector) |
| Modifier and Type | Method and Description |
|---|---|
protected long |
calculateMetricCount(ProcessEngineConfigurationImpl processEngineConfiguration,
Date startReportTime,
Date currentTime,
String metricName) |
protected Map<String,Metric> |
calculateMetrics(ProcessEngineConfigurationImpl processEngineConfiguration) |
protected long |
calculateUniqueUserCount(ProcessEngineConfigurationImpl processEngineConfiguration,
Date startReportTime,
Date currentTime) |
protected Map<String,Command> |
fetchAndResetCommandCounts(ProcessEngineConfigurationImpl processEngineConfiguration) |
protected void |
resolveData(ProcessEngineConfigurationImpl processEngineConfiguration) |
void |
run() |
protected void |
sendData() |
cancel, scheduledExecutionTimeprotected static final TelemetryLogger LOG
protected CommandExecutor commandExecutor
protected String telemetryEndpoint
protected Data data
protected org.camunda.connect.spi.Connector<? extends org.camunda.connect.spi.ConnectorRequest<?>> httpConnector
public TelemetrySendingTask(CommandExecutor commandExecutor, String telemetryEndpoint, Data data, org.camunda.connect.spi.Connector<? extends org.camunda.connect.spi.ConnectorRequest<?>> httpConnector)
protected void sendData()
protected void resolveData(ProcessEngineConfigurationImpl processEngineConfiguration)
protected Map<String,Command> fetchAndResetCommandCounts(ProcessEngineConfigurationImpl processEngineConfiguration)
protected Map<String,Metric> calculateMetrics(ProcessEngineConfigurationImpl processEngineConfiguration)
protected long calculateMetricCount(ProcessEngineConfigurationImpl processEngineConfiguration, Date startReportTime, Date currentTime, String metricName)
protected long calculateUniqueUserCount(ProcessEngineConfigurationImpl processEngineConfiguration, Date startReportTime, Date currentTime)
Copyright © 2013–2020 camunda services GmbH. All rights reserved.