Package com.mendix.metrics
Interface Timers
Deprecated, for removal: This API element is subject to removal in a future version.
Timers measure the amount of time an operation took to complete, in milliseconds.
-
Method Summary
Modifier and TypeMethodDescriptionvoidrecordExecutionTime(String bucket, long timeInMs) Deprecated, for removal: This API element is subject to removal in a future version.Records an execution time in milliseconds for the specified named operation.voidrecordExecutionTime(String bucket, long timeInMs, double sampleRate) Deprecated, for removal: This API element is subject to removal in a future version.Records an execution time in milliseconds for the specified named operation.voidrecordExecutionTime(String bucket, long timeInMs, double sampleRate, Map<String, String> tags) Deprecated, for removal: This API element is subject to removal in a future version.Records an execution time in milliseconds for the specified named operation.voidrecordExecutionTime(String bucket, long timeInMs, Map<String, String> tags) Deprecated, for removal: This API element is subject to removal in a future version.Records an execution time in milliseconds for the specified named operation.default voidDeprecated, for removal: This API element is subject to removal in a future version.Convenience method equivalent torecordExecutionTime(String, long).default voidDeprecated, for removal: This API element is subject to removal in a future version.Convenience method equivalent torecordExecutionTime(String, long, double).default voidDeprecated, for removal: This API element is subject to removal in a future version.Convenience method equivalent torecordExecutionTime(String, long, double, Map).default voidDeprecated, for removal: This API element is subject to removal in a future version.Convenience method equivalent torecordExecutionTime(String, long, Map).
-
Method Details
-
recordExecutionTime
Deprecated, for removal: This API element is subject to removal in a future version.Records an execution time in milliseconds for the specified named operation.- Parameters:
bucket- name of the timed operationtimeInMs- time in milliseconds
-
recordExecutionTime
Deprecated, for removal: This API element is subject to removal in a future version.Records an execution time in milliseconds for the specified named operation.- Parameters:
bucket- name of the timed operationtimeInMs- time in millisecondssampleRate- percentage of time metric to be sent
-
recordExecutionTime
Deprecated, for removal: This API element is subject to removal in a future version.Records an execution time in milliseconds for the specified named operation.- Parameters:
bucket- name of the timed operationtimeInMs- time in millisecondstags- map of tags to be added to the data
-
recordExecutionTime
Deprecated, for removal: This API element is subject to removal in a future version.Records an execution time in milliseconds for the specified named operation.- Parameters:
bucket- name of the timed operationtimeInMs- time in millisecondssampleRate- percentage of time metric to be senttags- map of tags to be added to the data
-
time
Deprecated, for removal: This API element is subject to removal in a future version.Convenience method equivalent torecordExecutionTime(String, long). Records an execution time in milliseconds for the specified named operation.- Parameters:
bucket- name of the timed operationtimeInMs- time in milliseconds
-
time
Deprecated, for removal: This API element is subject to removal in a future version.Convenience method equivalent torecordExecutionTime(String, long, double). Records an execution time in milliseconds for the specified named operation.- Parameters:
bucket- name of the timed operationtimeInMs- time in millisecondssampleRate- percentage of time metric to be sent
-
time
Deprecated, for removal: This API element is subject to removal in a future version.Convenience method equivalent torecordExecutionTime(String, long, Map). Records an execution time in milliseconds for the specified named operation.- Parameters:
bucket- name of the timed operationtimeInMs- time in millisecondstags- map of tags to be added to the data
-
time
Deprecated, for removal: This API element is subject to removal in a future version.Convenience method equivalent torecordExecutionTime(String, long, double, Map). Records an execution time in milliseconds for the specified named operation.- Parameters:
bucket- name of the timed operationtimeInMs- time in millisecondssampleRate- percentage of time metric to be senttags- map of tags to be added to the data
-
Core.metrics().Metrics.createTimer(String). This interface will be removed in Mendix 11.