Renames our dashboard to "Charmed OpenSearch". This PR addresses the following needs in our COS integration for large deployments:
1) Fixes data node integration with COS: COSAgentProvider was not tracking peer-cluster-* events, which means it was not receiving changes done to the COSUser by the main orchestrator
2) Add integration tests to COS: large deployments integration tests for COS were missing, this PR makes test_plugins more flexible, so it can run both small and large deployments
3) Manage user passwords: large deployments will now answer to set-password action and MAIN_ORCHESTRATOR propagates the new password value down to the other apps
4) Adds Role to Dashboard: adds "Roles" as a dropdown option to Grafana dashboard, allowing to filter each cluster also by OpenSearch "construct" node role.
Empty Dashboard Fix
Some dashboards are being set with $interval, which defaults to 1m and does not allow to run the actual calculation. This PR fixes it by using __rate_interval instead, which is a fixed period of X sample times for any rate() calculations.
Before
After
This is a graph for rate(), which means we want to compare sample deltas over a window of time. The later graph makes more sense in this case.
Renames our dashboard to "Charmed OpenSearch". This PR addresses the following needs in our COS integration for large deployments: 1) Fixes data node integration with COS: COSAgentProvider was not tracking peer-cluster-* events, which means it was not receiving changes done to the COSUser by the main orchestrator 2) Add integration tests to COS: large deployments integration tests for COS were missing, this PR makes
test_plugins
more flexible, so it can run both small and large deployments 3) Manage user passwords: large deployments will now answer toset-password
action andMAIN_ORCHESTRATOR
propagates the new password value down to the other apps 4) Adds Role to Dashboard: adds "Roles" as a dropdown option to Grafana dashboard, allowing to filter each cluster also by OpenSearch "construct" node role.Empty Dashboard Fix
Some dashboards are being set with
$interval
, which defaults to1m
and does not allow to run the actual calculation. This PR fixes it by using __rate_interval instead, which is a fixed period of X sample times for anyrate()
calculations.Before
After
This is a graph for
rate()
, which means we want to compare sample deltas over a window of time. The later graph makes more sense in this case.