Commit Graph

6 Commits

Author SHA1 Message Date
Piyush Agarwal 10d4f309f3 mgr/dashboard: Add 'Browse Dashboards' button in multi-cluster and ceph-cluster Grafana dashboards
Fixes: https://tracker.ceph.com/issues/68316

Signed-off-by: piyushagarwal1411 <piyushagarwal14.pa@gmail.com>
Signed-off-by: Piyush Agarwal <piyushagarwal14.pa@gmail.com>
2024-10-16 17:45:09 +05:30
Aashish Sharma b5536d8b8d mgr/dashboard: Add Performance Details grafana charts for individual clusters in Manage-clusters page
Fixes: https://tracker.ceph.com/issues/67192

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2024-08-22 14:15:08 +05:30
Aashish Sharma 1622ad8f76 mgr/dashboard: fix cluster filter typo in multi-cluster-overview
grafana dashboard

Fixes: https://tracker.ceph.com/issues/65760

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2024-05-02 17:12:26 +05:30
Christian Rohmann 090b8e17f1 Cleanup of variables, queries and tests to enable showMultiCluster=True
Rendering the dashboards with showMultiCluster=True allows for
them to work with multiple clusters storing their metrics in a single
Prometheus instance. This works via the cluster label and that functionality
already existed. This just fixes some inconsistencies in applying the label
filters.

Additionally this contains updates to the tests to have them succeed with
with both configurations and avoid the introduction of regressions in
regards to multiCluster in the future.

There also are some consistency cleanups here and there:
 * `datasource` was not used consistently
 * `cluster` label_values are determined from `ceph_health_status`
 * `job` template and filters on this label were removed to align multi cluster
    support solely via the `cluster` label
 * `ceph_hosts` filter now uses label_values from any ceph_metadata metrici
    to now show all instance values, but those of hosts with some Ceph
    component / daemon.
 *  Enable showMultiCluster=True since `cluster` label is now always present,
    via https://github.com/ceph/ceph/pull/54964

Improves: https://tracker.ceph.com/issues/64321
Signed-off-by: Christian Rohmann <christian.rohmann@inovex.de>
2024-04-22 08:29:37 +02:00
Nizamudeen A b8811c844f mgr/dashboard: introduce multi-cluster overview page
https://tracker.ceph.com/issues/64530
Signed-off-by: Nizamudeen A <nia@redhat.com>
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2024-03-05 19:05:37 +05:30
Aashish Sharma 495f669faf mgr/dashboard: Add a manage clusters page to the multi-cluster nav to
list/connect/disconnect/edit clusters in multi-cluster setup

Fixes: https://tracker.ceph.com/issues/64530
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2024-02-22 10:42:01 +05:30