-
Notifications
You must be signed in to change notification settings - Fork 105
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
Implemented support for ClusterMetrics monitors #221
Implemented support for ClusterMetrics monitors #221
Conversation
core/src/main/kotlin/org/opensearch/alerting/core/model/LocalUriInput.kt
Outdated
Show resolved
Hide resolved
alerting/src/main/kotlin/org/opensearch/alerting/settings/SupportedApiSettings.kt
Outdated
Show resolved
Hide resolved
alerting/src/test/kotlin/org/opensearch/alerting/MonitorRunnerIT.kt
Outdated
Show resolved
Hide resolved
@@ -37,6 +37,7 @@ dependencies { | |||
compile "org.opensearch.client:opensearch-rest-client:${opensearch_version}" | |||
compile 'com.google.googlejavaformat:google-java-format:1.10.0' | |||
compile "org.opensearch:common-utils:${common_utils_version}" | |||
compile 'commons-validator:commons-validator:1.7' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will be moved to alerting if we move the LocalUriInput class to alerting from core
core/src/main/kotlin/org/opensearch/alerting/core/model/LocalUriInput.kt
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## cluster-metrics-monitor-dev #221 +/- ##
=================================================================
- Coverage 78.59% 78.44% -0.15%
- Complexity 218 276 +58
=================================================================
Files 173 176 +3
Lines 6975 7233 +258
Branches 916 963 +47
=================================================================
+ Hits 5482 5674 +192
- Misses 1005 1058 +53
- Partials 488 501 +13
Continue to review full report at Codecov.
|
core/src/main/kotlin/org/opensearch/alerting/core/model/LocalUriInput.kt
Outdated
Show resolved
Hide resolved
core/src/main/kotlin/org/opensearch/alerting/core/model/LocalUriInput.kt
Outdated
Show resolved
Hide resolved
core/src/main/kotlin/org/opensearch/alerting/core/model/LocalUriInput.kt
Outdated
Show resolved
Hide resolved
return when { | ||
supportedJsonPayload.isEmpty() -> mappedActionResponse | ||
else -> { | ||
val output = hashMapOf<String, Any>() | ||
for ((key, value) in supportedJsonPayload) { | ||
when (val mappedValue = mappedActionResponse[key]) { | ||
is Map<*, *> -> output[key] = XContentMapValues.filter( | ||
mappedActionResponse[key] as MutableMap<String, *>?, | ||
value.toTypedArray(), arrayOf() | ||
) | ||
else -> output[key] = mappedValue ?: hashMapOf<String, Any>() | ||
} | ||
} | ||
output | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few possible concerns with this format I see:
- We are using
supported_json_payloads.json
to retrieve the allowed keys. This implies that whatever is explicitly mentioned is what is supported, however, if the map in the json is empty ({}
) we allow everything through even though that would imply that nothing is supported. - Do we support redaction of a nested map of allowed keys for more complex responses (assuming the result is not flattened)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are good points.
- I can see how this could be a bit confusing. For this use case, not including the API in the JSON would be the best way to redact everything from its response. This will be something we want to explain well in the documentation.
- If I'm understanding this point correctly, yes. The
test redactFieldsFromResponse with non-empty supportedJsonPayload
test case examines that functionality.
testCount++ | ||
} | ||
assertEquals(LocalUriInput.ApiType.values().size, testCount) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NP: Up to you but you can exclude the count assertion since if all the assertEquals
in the forEach
pass then we should be good and if any of them fail, the test will fail anyway.
Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
…ricsInput. Added Cluster Metrics as a new monitor type to align with frontend experience. Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
…ests accordingly. Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
alerting/src/main/kotlin/org/opensearch/alerting/settings/SupportedApiSettings.kt
Outdated
Show resolved
Hide resolved
alerting/src/main/kotlin/org/opensearch/alerting/util/SupportedApiSettingsExtensions.kt
Outdated
Show resolved
Hide resolved
core/src/main/kotlin/org/opensearch/alerting/core/model/ClusterMetricsInput.kt
Outdated
Show resolved
Hide resolved
As a side note, the integration tests pass locally. The |
Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
…ries API. Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
core/src/main/kotlin/org/opensearch/alerting/core/model/ClusterMetricsInput.kt
Outdated
Show resolved
Hide resolved
const val MIN_SOCKET_TIMEOUT = 1 | ||
const val MAX_SOCKET_TIMEOUT = 60 | ||
|
||
const val SUPPORTED_SCHEME = "http" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
HttpClient is no more being used in your approach, better clean up fields not required in your approach.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Created this issue to track this feedback #341
|
||
const val SUPPORTED_SCHEME = "http" | ||
const val SUPPORTED_HOST = "localhost" | ||
const val SUPPORTED_PORT = 9200 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Created this issue to track this feedback #341
val pathParamsArray = pathParams.split(",").toTypedArray() | ||
return ClusterStatsRequest(*pathParamsArray) | ||
} | ||
ClusterMetricType.NODES_STATS -> NodesStatsRequest().addMetrics( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is good for now, but ideally, we want to give control to choose what metrics or in general params they would want to pass. Let's add a todo task here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Created this issue to track this feedback #341
Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
/** | ||
* An enum class to quickly reference various supported API. | ||
*/ | ||
enum class ClusterMetricType( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This logic can be replaced with regex validations and in future releases we may want to keep it more generic so that if path requires some placeholders, users can configure them without changing code. For e.g. node stats api supports adding node id or cluster metric name as part of url path.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Created this issue to track this feedback #341
What testing have we done for FGAC related use-cases? It would be great if you can add integ tests for such cases. |
Created this issue to track this feedback #341 Manual testing involved creating a user with all permissions except
Also, I created a user without access to the
|
* Implemented support for LocalUriInput monitors. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored feature naming convention from LocalUriInput to ClusterMetricsInput. Added Cluster Metrics as a new monitor type to align with frontend experience. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Fixed ktlint errors. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Implemented randomClusterMetricsMonitor test helper, and refactored tests accordingly. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Renamed some assets to align with the new name for this feature. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored cluster metrics feature to remove support for Cat repositories API. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored supported JSON payload to return all response fields. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored nodes stats request object to return all metrics. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored nodes stats request object to return all metrics. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Removing unused connectionTimeout and socketTimeout params. Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
…) (opensearch-project#342) * Implemented support for LocalUriInput monitors. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored feature naming convention from LocalUriInput to ClusterMetricsInput. Added Cluster Metrics as a new monitor type to align with frontend experience. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Fixed ktlint errors. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Implemented randomClusterMetricsMonitor test helper, and refactored tests accordingly. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Renamed some assets to align with the new name for this feature. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored cluster metrics feature to remove support for Cat repositories API. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored supported JSON payload to return all response fields. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored nodes stats request object to return all metrics. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored nodes stats request object to return all metrics. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Removing unused connectionTimeout and socketTimeout params. Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
* Added support for JDK 8 and 14. (#335) * Added support for JDK 8 and 14. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added support for JDK 8 and 14. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added 1.3 release notes. (#336) * Added 1.3 release notes. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added 1.3 release notes. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Add backport and auto delete workflow (#339) Signed-off-by: Annie Lee <leeyun@amazon.com> * Implemented support for ClusterMetrics monitors (#221) (#342) * Implemented support for LocalUriInput monitors. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored feature naming convention from LocalUriInput to ClusterMetricsInput. Added Cluster Metrics as a new monitor type to align with frontend experience. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Fixed ktlint errors. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Implemented randomClusterMetricsMonitor test helper, and refactored tests accordingly. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Renamed some assets to align with the new name for this feature. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored cluster metrics feature to remove support for Cat repositories API. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored supported JSON payload to return all response fields. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored nodes stats request object to return all metrics. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored nodes stats request object to return all metrics. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Removing unused connectionTimeout and socketTimeout params. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added cluster metrics monitor to release notes. (#343) * Added 1.3 release notes. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added 1.3 release notes. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added cluster metrics monitor to release notes. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Updated DEVELOPER_GUIDE.md and workflows to reference changes to the supported JDKs. (#338) * Added support for JDK 8 and 14. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added support for JDK 8 and 14. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Updated DEVELOPER_GUIDE.md to reference changes to the supported JDKs. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added additional release note. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Updated DEVELOPER_GUIDE.md to reference changes to the supported JDKs. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Updated DEVELOPER_GUIDE.md to reference changes to the supported JDKs. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Updated workflows to build using JDK 11. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Removing redundant JDK setup step. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Fixed guide wording. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Fixed guide wording. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Reverted bwc workflow JDK. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> Co-authored-by: Annie Lee <leeyun@amazon.com>
…roject#345) * Added support for JDK 8 and 14. (opensearch-project#335) * Added support for JDK 8 and 14. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added support for JDK 8 and 14. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added 1.3 release notes. (opensearch-project#336) * Added 1.3 release notes. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added 1.3 release notes. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Add backport and auto delete workflow (opensearch-project#339) Signed-off-by: Annie Lee <leeyun@amazon.com> * Implemented support for ClusterMetrics monitors (opensearch-project#221) (opensearch-project#342) * Implemented support for LocalUriInput monitors. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored feature naming convention from LocalUriInput to ClusterMetricsInput. Added Cluster Metrics as a new monitor type to align with frontend experience. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Fixed ktlint errors. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Implemented randomClusterMetricsMonitor test helper, and refactored tests accordingly. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Renamed some assets to align with the new name for this feature. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored cluster metrics feature to remove support for Cat repositories API. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored supported JSON payload to return all response fields. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored nodes stats request object to return all metrics. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored nodes stats request object to return all metrics. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Removing unused connectionTimeout and socketTimeout params. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added cluster metrics monitor to release notes. (opensearch-project#343) * Added 1.3 release notes. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added 1.3 release notes. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added cluster metrics monitor to release notes. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Updated DEVELOPER_GUIDE.md and workflows to reference changes to the supported JDKs. (opensearch-project#338) * Added support for JDK 8 and 14. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added support for JDK 8 and 14. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Updated DEVELOPER_GUIDE.md to reference changes to the supported JDKs. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added additional release note. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Updated DEVELOPER_GUIDE.md to reference changes to the supported JDKs. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Updated DEVELOPER_GUIDE.md to reference changes to the supported JDKs. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Updated workflows to build using JDK 11. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Removing redundant JDK setup step. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Fixed guide wording. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Fixed guide wording. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Reverted bwc workflow JDK. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> Co-authored-by: Annie Lee <leeyun@amazon.com>
* Add 1.2.4.0 release notes (#282) * Add 1.2.4.0 release notes Signed-off-by: Ashish Agrawal <ashisagr@amazon.com> * Commented out flaky test in favor of known issue to unblock build (#331) (#332) (#333) * Commented out flaky test in favor of known issue #300 to unblock build process. Signed-off-by: Saurabh Singh <sisurab@amazon.com> * Commenting out another test Signed-off-by: Aditya Jindal <aditjind@amazon.com> Co-authored-by: Saurabh Singh <sisurab@amazon.com> Co-authored-by: Aditya Jindal <aditjind@amazon.com> Co-authored-by: Saurabh Singh <sisurab@amazon.com> Co-authored-by: Aditya Jindal <13850971+aditjind@users.noreply.github.com> Co-authored-by: Saurabh Singh <sisurab@amazon.com> Co-authored-by: Aditya Jindal <13850971+aditjind@users.noreply.github.com> * Cherry-picking commits for 1.3 release from main to 1.x (#345) * Added support for JDK 8 and 14. (#335) * Added support for JDK 8 and 14. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added support for JDK 8 and 14. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added 1.3 release notes. (#336) * Added 1.3 release notes. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added 1.3 release notes. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Add backport and auto delete workflow (#339) Signed-off-by: Annie Lee <leeyun@amazon.com> * Implemented support for ClusterMetrics monitors (#221) (#342) * Implemented support for LocalUriInput monitors. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored feature naming convention from LocalUriInput to ClusterMetricsInput. Added Cluster Metrics as a new monitor type to align with frontend experience. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Fixed ktlint errors. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Implemented randomClusterMetricsMonitor test helper, and refactored tests accordingly. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Renamed some assets to align with the new name for this feature. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored cluster metrics feature to remove support for Cat repositories API. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored supported JSON payload to return all response fields. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored nodes stats request object to return all metrics. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored nodes stats request object to return all metrics. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Removing unused connectionTimeout and socketTimeout params. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added cluster metrics monitor to release notes. (#343) * Added 1.3 release notes. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added 1.3 release notes. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added cluster metrics monitor to release notes. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Updated DEVELOPER_GUIDE.md and workflows to reference changes to the supported JDKs. (#338) * Added support for JDK 8 and 14. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added support for JDK 8 and 14. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Updated DEVELOPER_GUIDE.md to reference changes to the supported JDKs. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added additional release note. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Updated DEVELOPER_GUIDE.md to reference changes to the supported JDKs. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Updated DEVELOPER_GUIDE.md to reference changes to the supported JDKs. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Updated workflows to build using JDK 11. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Removing redundant JDK setup step. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Fixed guide wording. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Fixed guide wording. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Reverted bwc workflow JDK. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> Co-authored-by: Annie Lee <leeyun@amazon.com> Co-authored-by: Ashish Agrawal <ashisagr@amazon.com> Co-authored-by: Saurabh Singh <getsaurabh02@gmail.com> Co-authored-by: Saurabh Singh <sisurab@amazon.com> Co-authored-by: Aditya Jindal <13850971+aditjind@users.noreply.github.com> Co-authored-by: Annie Lee <leeyun@amazon.com>
…roject#345) * Added support for JDK 8 and 14. (opensearch-project#335) * Added support for JDK 8 and 14. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added support for JDK 8 and 14. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added 1.3 release notes. (opensearch-project#336) * Added 1.3 release notes. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added 1.3 release notes. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Add backport and auto delete workflow (opensearch-project#339) Signed-off-by: Annie Lee <leeyun@amazon.com> * Implemented support for ClusterMetrics monitors (opensearch-project#221) (opensearch-project#342) * Implemented support for LocalUriInput monitors. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored feature naming convention from LocalUriInput to ClusterMetricsInput. Added Cluster Metrics as a new monitor type to align with frontend experience. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Fixed ktlint errors. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Implemented randomClusterMetricsMonitor test helper, and refactored tests accordingly. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Renamed some assets to align with the new name for this feature. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored cluster metrics feature to remove support for Cat repositories API. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored supported JSON payload to return all response fields. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored nodes stats request object to return all metrics. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Refactored nodes stats request object to return all metrics. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Removing unused connectionTimeout and socketTimeout params. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added cluster metrics monitor to release notes. (opensearch-project#343) * Added 1.3 release notes. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added 1.3 release notes. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added cluster metrics monitor to release notes. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Updated DEVELOPER_GUIDE.md and workflows to reference changes to the supported JDKs. (opensearch-project#338) * Added support for JDK 8 and 14. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added support for JDK 8 and 14. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Updated DEVELOPER_GUIDE.md to reference changes to the supported JDKs. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Added additional release note. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Updated DEVELOPER_GUIDE.md to reference changes to the supported JDKs. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Updated DEVELOPER_GUIDE.md to reference changes to the supported JDKs. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Updated workflows to build using JDK 11. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Removing redundant JDK setup step. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Fixed guide wording. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Fixed guide wording. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Reverted bwc workflow JDK. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> Co-authored-by: Annie Lee <leeyun@amazon.com> Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
Issue #, if available:
Description of changes:
CheckList:
[x] Commits are signed per the DCO using --signoff
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.