From 509cd455687714174e560106e0777b69fbe49f2c Mon Sep 17 00:00:00 2001 From: Gagan Juneja Date: Mon, 9 Dec 2024 18:37:19 +0530 Subject: [PATCH] Adds release notes - 1.3.20 (#769) * release notes - 1.3.20 Signed-off-by: Gagan Juneja * Adds license files Signed-off-by: Gagan Juneja * Fixes test cases Signed-off-by: Gagan Juneja * Fixes test cases Signed-off-by: Gagan Juneja --------- Signed-off-by: Gagan Juneja Co-authored-by: Gagan Juneja (cherry picked from commit c43119e1a5afdf66c65651c8bcac039c105a7417) --- .../opensearch-performance-analyzer.release-notes-1.3.20.0.md | 3 +++ .../collectors/NodeStatsAllShardsMetricsCollector.java | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 release-notes/opensearch-performance-analyzer.release-notes-1.3.20.0.md diff --git a/release-notes/opensearch-performance-analyzer.release-notes-1.3.20.0.md b/release-notes/opensearch-performance-analyzer.release-notes-1.3.20.0.md new file mode 100644 index 00000000..54257818 --- /dev/null +++ b/release-notes/opensearch-performance-analyzer.release-notes-1.3.20.0.md @@ -0,0 +1,3 @@ +## Version 1.3.20 Release Notes + +Compatible with OpenSearch 1.3.20 diff --git a/src/main/java/org/opensearch/performanceanalyzer/collectors/NodeStatsAllShardsMetricsCollector.java b/src/main/java/org/opensearch/performanceanalyzer/collectors/NodeStatsAllShardsMetricsCollector.java index 2de63690..e6a3b0ed 100644 --- a/src/main/java/org/opensearch/performanceanalyzer/collectors/NodeStatsAllShardsMetricsCollector.java +++ b/src/main/java/org/opensearch/performanceanalyzer/collectors/NodeStatsAllShardsMetricsCollector.java @@ -27,6 +27,7 @@ package org.opensearch.performanceanalyzer.collectors; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.google.common.collect.ImmutableMap; @@ -303,6 +304,7 @@ public NodeStatsMetricsAllShardsPerCollectionStatus(ShardStats shardStats) { } @SuppressWarnings("checkstyle:parameternumber") + @JsonCreator public NodeStatsMetricsAllShardsPerCollectionStatus( long queryCacheHitCount, long queryCacheMissCount,