Skip to content

Commit

Permalink
Fixes test cases
Browse files Browse the repository at this point in the history
Signed-off-by: Gagan Juneja <[email protected]>
  • Loading branch information
Gagan Juneja committed Dec 9, 2024
1 parent ebf290b commit ff8cb09
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import static org.opensearch.performanceanalyzer.commons.stats.metrics.StatExceptionCode.NODESTATS_COLLECTION_ERROR;
import static org.opensearch.performanceanalyzer.commons.stats.metrics.StatMetrics.NODE_STATS_ALL_SHARDS_METRICS_COLLECTOR_EXECUTION_TIME;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.common.collect.ImmutableMap;
Expand Down Expand Up @@ -248,6 +249,7 @@ public void populateDiffMetricValue(
saveMetricValues(value.toString(), startTime, IndexName, String.valueOf(ShardId));
}

@JsonCreator
public static class NodeStatsMetricsAllShardsPerCollectionStatus extends MetricStatus {

@JsonIgnore private ShardStats shardStats;
Expand Down

0 comments on commit ff8cb09

Please sign in to comment.