Commit Graph

345 Commits

Author SHA1 Message Date
Ankush Behl
6c1a17b666 monitoring: Fix application overview to show Raw used
- Updated capacity used to show Raw capacity
- Pool table shows Raw capacity
- Total used capacity graph shows raw capacity

fixes: https://tracker.ceph.com/issues/76456

Signed-off-by: Ankush Behl <cloudbehl@gmail.com>
2026-05-07 14:54:29 +05:30
Aashish Sharma
b0601df2a5 mr/dashboard: remove rgw_servers filter from radosgw-sync-overview grafana dashboard
Fixes: https://tracker.ceph.com/issues/76239

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2026-04-23 21:47:41 +05:30
Ankush Behl
f17f4064af mgt/dashboard: Add the CPU, Memory to CephFS dashboard
Fixes: https://tracker.ceph.com/issues/76058

Signed-off-by: Ankush Behl <cloudbehl@gmail.com>
2026-04-21 13:30:20 +05:30
Ankush Behl
809839e5f0 Fixes for subvolume overview in grafana
- multiple values were shown in graph and single state
- Remove All selection from subvolume path

fixes: https://tracker.ceph.com/issues/75849

Signed-off-by: Ankush Behl <cloudbehl@gmail.com>
2026-04-15 19:12:07 +05:30
bst2002git
6218ce52e9 found duplicate series for the match group {fs_id="-1"}
when 1 MDS active and 2 MDS standby (on 3Node-Cluster)
found duplicate series for the match group {fs_id="-1"} on the right hand-side of the operation
many-to-many matching not allowed: matching labels must be unique on one side

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

Signed-off-by: bst2002git <bst2002@ios.dhs.org>
2026-03-31 10:55:39 +05:30
Aashish Sharma
2a405520fc mgr/dashboard: Fix unit tests
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2026-02-25 21:01:17 +05:30
Ankush Behl
bdbe9d2a4f mgr/dashboard: Added capacity metrics
Signed-off-by: Ankush Behl <cloudbehl@gmail.com>
2026-02-25 21:01:17 +05:30
Ankush Behl
0486d807ac monitoring: Add subvolume dashboard
- Add IO, Throughput and Latency

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

Signed-off-by: Ankush Behl <cloudbehl@gmail.com>
2026-02-25 21:01:17 +05:30
Abhishek Desai
4b5096cc0d mgr/dashboard : Add certmgr alerts and warings to Prometheus and dashboard
fixes : https://tracker.ceph.com/issues/73674
Signed-off-by: Abhishek Desai <abhishek.desai1@ibm.com>

New changes commit for certmgr alerts
2026-02-23 20:21:29 +05:30
Vallari Agrawal
ad708f4c69
monitoring: update NVMeoFTooManyNamespaces to 4096 ns
Change NVMeoFTooManyNamespaces alert limit from 2048 namespaces
to 4096 namespaces.

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

Signed-off-by: Vallari Agrawal <vallari.agrawal@ibm.com>
2026-01-20 14:43:03 +05:30
Aashish Sharma
5c94d225b4
Merge pull request #66791 from rhcs-dashboard/fix-74315-main
monitoring: fix rgw_servers filtering in rgw sync overview grafana

Reviewed-by: Ankush Behl <ankush.behl@ibm.com>
2026-01-20 13:05:48 +05:30
Aashish Sharma
af3099ecc1
Merge pull request #66661 from rhcs-dashboard/prometheus-cluster-label-fix
monitoring: make cluster matcher backward compatible for pre-reef metrics

Reviewed-by: Ankush Behl <ankush.behl@ibm.com>
2026-01-20 12:58:37 +05:30
Aashish Sharma
f7f74e4554 monitoring: make cluster matcher backward compatible for pre-7.1 metrics
Ceph 18.* adds a `cluster` label to all Prometheus metrics. When
upgrading from earlier releases, historical metrics lack this label
and are excluded by Grafana queries that strictly match on `cluster`.
Update the shared Grafana matcher logic to use a regex matcher that
also matches series without the `cluster` label, restoring visibility
of pre-upgrade metrics while preserving multi-cluster behavior.

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

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2026-01-19 14:34:19 +05:30
Aashish Sharma
c1329c9945 monitoring: upgrade grafana version to 12.3.1
Fixes: https://tracker.ceph.com/issues/74436

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2026-01-19 11:06:11 +05:30
Aashish Sharma
cd23e940c1 monitoring: fix rgw_servers filtering in rgw sync overview grafana
Fix rgw daemon filtering in RGW Sync Overview --> Replication(Time) Delta per shard graph in grafana

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

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2026-01-05 12:48:14 +05:30
Aashish Sharma
5b4f737365 monitoring: fix CephPgImbalance alert rule expression
The alert CephPGImbalance doesn't take any device classes configured into account. As a result, there can be false positives when using mixed-size OSD disks.
Ref: https://github.com/rook/rook/discussions/13126#discussioncomment-10043490

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

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2025-12-12 10:39:34 +05:30
afreen23
8468138102
Merge pull request #66326 from afreen23/fixes-mixins
monitoring: Fixes for development

Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
2025-11-24 17:47:33 +05:30
Afreen Misbah
bdae7b3ff7 monitoring: Fixes for development
- fixes tox.ini using and undefined env - `grafonnet-check`( instead of `jsonnet-check`)
- adds steps for local development of mixins and building jsonnet
- added help command in Makefile
- added comments and descriptions for Makefile and tox.ini

Signed-off-by: Afreen Misbah <afreen@ibm.com>
2025-11-20 01:47:49 +05:30
Aashish Sharma
bd18dec8ec monitoring: remove cephfs.libsonnet mention from dashboards.libsonnet
We recently added a new CephFS Overview dashboard and removed the
older MDS Performance dashboard. We need to remove the mention
of cephfs.libsonnet from dashboards.libsonnet file as well.

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

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2025-11-19 10:43:22 +05:30
afreen23
c231a32918
Merge pull request #65711 from rhcs-dashboard/fix-73296-main
monitoring: Improve grafana dashboards naming convention

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
2025-11-18 19:38:36 +05:30
Vallari Agrawal
16d46aed67
monitoring: use ceph_cephadm_daemon_status in ceph-nvmeof
Use this metric to show accurate data for "down"
NVMeoF gateways in ceph NVMeoF Overview dashboard.

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

Signed-off-by: Vallari Agrawal <vallari.agrawal@ibm.com>
2025-11-05 13:59:03 +05:30
Aashish Sharma
3b5b8da7d2
Merge pull request #65938 from cloudbehl/smb-overview-fixes
monitoring: Fixes for smb overview

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
2025-10-22 13:15:52 +05:30
Ankush Behl
39eabe5305 monitoring: Fixes for smb overview
Fixes: https://tracker.ceph.com/issues/73535

Signed-off-by: Ankush Behl <cloudbehl@gmail.com>
2025-10-14 20:27:37 +05:30
Ankush Behl
3174b4ee9a monitoring: Fix Filesystem grafana dashboard units
Fixes: https://tracker.ceph.com/issues/73521

Signed-off-by: Ankush Behl <cloudbehl@gmail.com>
2025-10-13 18:13:00 +05:30
Ankush Behl
eba3b2ae54 mgr/dashboard: added node-exporter dashboard
Fixes: https://tracker.ceph.com/issues/70534

Signed-off-by: Ankush Behl <cloudbehl@gmail.com>
2025-10-09 10:39:40 +05:30
Aashish Sharma
6754d7a28f monitoring: Standardize Ceph Grafana dashboards
naming convention

Improve consistency  by aligning the naming scheme
across all ceph Grafana dashboards.

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

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2025-09-30 14:21:42 +05:30
Aashish Sharma
bee24dec44 monitoring: fix MTU Mismatch alert rule and expr
Fixes: https://tracker.ceph.com/issues/73290

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2025-09-29 10:27:32 +05:30
afreen23
2d0108ab7e
Merge pull request #64755 from cloudbehl/grafana-rate-irate-fix
ceph-mixin: Update monitoring mixin


Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: SuperQ <superq@gmail.com>
2025-09-25 13:44:52 +05:30
Aashish Sharma
53a6856d60 monitoring/ceph_mixin: fix Cluster - Advanced OSD grafana panel
1. Fixes the promql expr used to calculate "In" OSDs in
   ceph-cluster-advanced.json.
2. Fixes the color coding for the single state panels used in the OSDs
   grafana panel like "In", "Out" etc

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

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2025-09-17 15:28:41 +05:30
Aashish Sharma
ebca859c5d ceph-mixin: reset auto_count to 10
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2025-09-17 15:06:21 +05:30
Nizamudeen A
b8fe487010 monitoring: add user-agent headers to the urllib
The documentation started raising 403 suddenly. Adding User-Agent
headers to the request

Signed-off-by: Nizamudeen A <nia@redhat.com>
2025-09-10 18:30:36 +05:30
Aashish Sharma
2c2f1f83ec mgr/dashboard: fix RGW Bucket Notification Dashboard units
Fixes: https://tracker.ceph.com/issues/72868

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2025-09-04 13:40:00 +05:30
Aashish Sharma
be407d43a7
Merge pull request #63641 from anushruti10116/add-bucket-notification-dashboard
mgr/dashboard: Adding RGW Bucket Notification Dashboard for Grafana
2025-08-29 16:21:08 +05:30
Anushruti Sharma
9860c7c544 fixing review comment
Signed-off-by: Anushruti Sharma <anushruti10116@gmail.com>
2025-08-28 12:28:13 +05:30
Anushruti Sharma
ac296ce357 fixing review comment
Signed-off-by: Anushruti Sharma <anushruti10116@gmail.com>
2025-08-26 13:04:28 +05:30
Anushruti Sharma
ccd241da04 fixing review comment
Signed-off-by: Anushruti Sharma <anushruti10116@gmail.com>
2025-08-26 12:56:17 +05:30
Anushruti Sharma
b4446f20a3 fixing review comment
Signed-off-by: Anushruti Sharma <anushruti10116@gmail.com>
2025-08-25 22:16:19 +05:30
Anushruti Sharma
aef51d2911 fixing format
Signed-off-by: Anushruti Sharma <anushruti10116@gmail.com>
2025-08-11 16:07:55 +05:30
Anushruti Sharma
0b70e32cab updating review comment
Signed-off-by: Anushruti Sharma <anushruti10116@gmail.com>

updating changes
2025-08-07 19:02:31 +05:30
SuperQ
9c4cd107a4 ceph-mixin: Update monitoring mixin
Update `rate()` queries to be more accurate. The use of `irate()` leads
to misleading graphs because it only looks at the last 2 samples over
the selected time range step interval. Also use `$__rate_interval`
consistently in order to scale over short and long time ranges.
* Replace `irate()` with `rate()` to avoid sample bias.
* Use `$__rate_interval` consistently.
* Update auto_count/min to provide higher detail graphs.

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

Signed-off-by: SuperQ <superq@gmail.com>
Signed-off-by: Ankush Behl <cloudbehl@gmail.com>
2025-08-07 11:54:03 +05:30
Pedro Gonzalez Gomez
6051476038
Merge pull request #64719 from cloudbehl/smb-overview-per-share
monitoring: Add per share metrics to SMB dashboard

Reviewed-by: Pedro Gonzalez <pegonzal@redhat.com>
2025-08-07 00:06:16 +02:00
Abhishek Desai
190050bfb3 mgr/dashboard: 72409 : Fixed parsing error in grafana for host overall performance iframe
fixes: https://tracker.ceph.com/issues/72409

Signed-off-by: Abhishek Desai <abhishek.desai1@ibm.com>
2025-08-06 15:21:51 +05:30
Ankush Behl
4fe4643861 monitoring: Add per share metrics to SMB dashboard
Fixes: https://tracker.ceph.com/issues/72308

Signed-off-by: Ankush Behl <cloudbehl@gmail.com>
2025-08-05 21:56:47 +05:30
Vallari Agrawal
9977e5c963
monitoring: Add alert NVMeoFHostKeepAliveTimeout
Fixes: https://tracker.ceph.com/issues/71772

Signed-off-by: Vallari Agrawal <vallari.agrawal@ibm.com>
2025-06-21 12:13:41 +05:30
Anthony D'Atri
dfbd82f61c monitoring/ceph-mixin/dashboards_out: Correct panel title in ceph-cluster-advanced.json
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2025-06-04 14:32:05 -04:00
Anushruti Sharma
42b307b9ed mgr/dashboard: Adding RGW Bucket Notification Dashboard for Grafana
This commit add the panel for bucket notification dashboard.

Signed-off-by: Anushruti Sharma <anushruti10116@gmail.com>
2025-06-02 17:55:08 +05:30
Aashish Sharma
ebf9c99c15
Merge pull request #62164 from piyushagarwal1411/cephfsdashboard
mgr/dashboard: Creating CephFS dashboard for Grafana

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
2025-05-28 19:31:44 +05:30
Piyush Agarwal
3eaa3401f6 mgr/dashboard: Creating CephFS dashboard for Grafana
Fixes: https://tracker.ceph.com/issues/70901

Signed-off-by: Piyush Agarwal <piyushagarwal14.pa@gmail.com>
2025-05-28 13:50:00 +05:30
Ankush Behl
7b30aeb267 mgr/dashboard: Fix applicatin pool table for filtered pools
fixes: https://tracker.ceph.com/issues/71361

Signed-off-by: Ankush Behl <cloudbehl@gmail.com>
2025-05-21 13:51:42 +05:30
Aashish Sharma
5798d2fc9a mgr/dashboard: fix flaky promql query test
There is a test collision in "promql-query-test" test suite because two different IOPS panels with the same title and legend labels (Read, Write) are present, and the test framework is not able to distinguish between them.
There are two panels with the same title IOPS and legends Read / Write, but different expressions:\
1. ceph-application-overview.json
2. ceph-cluster-advanced.json

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

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2025-05-15 16:22:25 +05:30