Adding Resources and Statistics to the Statistics Store Namespace
Many resources, such as disks or other devices, are added to the statistics store automatically when the devices are added to the system. System statistics such as kstats and information about services and faults are included in the statistics store by default.
You can use one of the following methods to add your custom resources and statistics to the statistics store namespace:
-
JSON text files. See Using Statistics Store Metadata Files.
-
The
sstore_resource_add
() statistics store library interface. See Adding Resources Dynamically.