Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add completionCount constants for co-ordinator and shard level tasks #53

Merged
merged 2 commits into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -845,6 +845,7 @@ public enum SearchBackPressureStatsValue implements MetricValue {
SearchBackPressureStatsValue.Constants.SEARCHBP_SHARD_STATS_CANCELLATIONCOUNT),
SEARCHBP_SHARD_STATS_LIMITREACHEDCOUNT(
SearchBackPressureStatsValue.Constants.SEARCHBP_SHARD_STATS_LIMITREACHEDCOUNT),
SEARCHBP_SHARD_STATS_COMPLETIONCOUNT(Constants.SEARCHBP_SHARD_STATS_COMPLETIONCOUNT),
SEARCHBP_SHARD_STATS_RESOURCE_HEAP_USAGE_CANCELLATIONCOUNT(
SearchBackPressureStatsValue.Constants
.SEARCHBP_SHARD_STATS_RESOURCE_HEAP_USAGE_CANCELLATIONCOUNT),
Expand Down Expand Up @@ -876,6 +877,7 @@ public enum SearchBackPressureStatsValue implements MetricValue {
SearchBackPressureStatsValue.Constants.SEARCHBP_TASK_STATS_CANCELLATIONCOUNT),
SEARCHBP_TASK_STATS_LIMITREACHEDCOUNT(
SearchBackPressureStatsValue.Constants.SEARCHBP_TASK_STATS_LIMITREACHEDCOUNT),
SEARCHBP_TASK_STATS_COMPLETIONCOUNT(Constants.SEARCHBP_TASK_STATS_COMPLETIONCOUNT),
SEARCHBP_TASK_STATS_RESOURCE_HEAP_USAGE_CANCELLATIONCOUNT(
SearchBackPressureStatsValue.Constants
.SEARCHBP_TASK_STATS_RESOURCE_HEAP_USAGE_CANCELLATIONCOUNT),
Expand Down Expand Up @@ -966,6 +968,8 @@ public static class Constants {
"searchbp_shard_stats_cancellationCount";
public static final String SEARCHBP_SHARD_STATS_LIMITREACHEDCOUNT =
"searchbp_shard_stats_limitReachedCount";
public static final String SEARCHBP_SHARD_STATS_COMPLETIONCOUNT =
"searchbp_shard_stats_completionCount";
sgup432 marked this conversation as resolved.
Show resolved Hide resolved
public static final String SEARCHBP_SHARD_STATS_RESOURCE_HEAP_USAGE_CANCELLATIONCOUNT =
"searchbp_shard_stats_resource_heap_usage_cancellationCount";
public static final String SEARCHBP_SHARD_STATS_RESOURCE_HEAP_USAGE_CURRENTMAX =
Expand All @@ -989,6 +993,8 @@ public static class Constants {
"searchbp_task_stats_cancellationCount";
public static final String SEARCHBP_TASK_STATS_LIMITREACHEDCOUNT =
"searchbp_task_stats_limitReachedCount";
public static final String SEARCHBP_TASK_STATS_COMPLETIONCOUNT =
"searchbp_task_stats_completionCount";
public static final String SEARCHBP_TASK_STATS_RESOURCE_HEAP_USAGE_CANCELLATIONCOUNT =
"searchbp_task_stats_resource_heap_usage_cancellationCount";
public static final String SEARCHBP_TASK_STATS_RESOURCE_HEAP_USAGE_CURRENTMAX =
Expand Down Expand Up @@ -1023,13 +1029,17 @@ public static class Constants {
"cancellationCount";
public static final String SEARCHBP_SEARCH_TASK_STATS_LIMITREACHEDCOUNT =
"limitReachedCount";
public static final String SEARCHBP_SEARCH_TASK_STATS_COMPLETIONCOUNT =
"completionCount";
public static final String SEARCHBP_SEARCH_TASK_STATS_RESOURCE_USAGE_TRACKER_STATS =
"resourceUsageTrackerStats";
// SearchShardTaskStats
public static final String SEARCHBP_SEARCH_SHARD_TASK_STATS_CANCELLATIONCOUNT =
"cancellationCount";
public static final String SEARCHBP_SEARCH_SHARD_TASK_STATS_LIMITREACHEDCOUNT =
"limitReachedCount";
public static final String SEARCHBP_SEARCH_SHARD_TASK_STATS_COMPLETIONCOUNT =
"completionCount";
sgup432 marked this conversation as resolved.
Show resolved Hide resolved
public static final String
SEARCHBP_SEARCH_SHARD_TASK_STATS_RESOURCE_USAGE_TRACKER_STATS =
"resourceUsageTrackerStats";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ public enum StatExceptionCode {
CACHE_CONFIG_METRICS_COLLECTOR_ERROR("CacheConfigMetricsCollectorError"),
ADMISSION_CONTROL_COLLECTOR_ERROR("AdmissionControlCollectorError"),
CIRCUIT_BREAKER_COLLECTOR_ERROR("CircuitBreakerCollectorError"),
CLUSTER_MANAGER_SERVICE_EVENTS_METRICS_COLLECTOR_ERROR("ClusterManagerServiceEventsMetricsCollectorError"),
CLUSTER_MANAGER_SERVICE_EVENTS_METRICS_COLLECTOR_ERROR(
"ClusterManagerServiceEventsMetricsCollectorError"),
CLUSTER_MANAGER_SERVICE_METRICS_COLLECTOR_ERROR("ClusterManagerServiceMetricsCollectorError"),
CLUSTER_MANAGER_THROTTLING_COLLECTOR_ERROR("ClusterManagerThrottlingMetricsCollectorError"),
FAULT_DETECTION_COLLECTOR_ERROR("FaultDetectionMetricsCollectorError"),
Expand Down