Page MenuHomeFreeBSD

Change "ctlstat -P"'s schema
ClosedPublic

Authored by asomers on Feb 11 2023, 12:08 AM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 3 2024, 5:11 PM
Unknown Object (File)
Nov 3 2024, 5:09 PM
Unknown Object (File)
Nov 3 2024, 5:09 PM
Unknown Object (File)
Nov 3 2024, 4:51 PM
Unknown Object (File)
Sep 28 2024, 1:27 AM
Unknown Object (File)
Sep 27 2024, 3:33 PM
Unknown Object (File)
Sep 21 2024, 9:52 PM
Unknown Object (File)
Sep 11 2024, 9:23 AM
Subscribers

Details

Summary

Change "ctlstat -P"'s schema

It now reports stats separately for both ports and luns.

Also, prohibit using both "-p" and "-P" at the same time.

Test Plan

Manually tested with Prometheus and Grafana

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

We previously discussed publishing a join table to associate targets with luns. But I realized that I actually don't need that for our purposes, so I didn't implement it.

Makes sense on a brief look.

This revision is now accepted and ready to land.Feb 13 2023, 12:19 AM
This revision was automatically updated to reflect the committed changes.