Go to main content

手册页第 7 部分:标准、环境、宏、字符集和杂项

退出打印视图

更新时间: 2022年7月27日 星期三
 
 

ssid-schema(7)

名称

ssid-schema - statistics store identifier schema

用法概要

/usr/lib/sstore/metadata/json-schema

描述

Each statistics store identifier (ssid) recognized by Oracle Solaris Analytics must conform to a schema defined using JSON. This schema is comprised of the component definitions found in /usr/lib/sstore/metadata/json-schema/.

Two tools are provided to assist with defining custom statistics:

  • soljsonfmt. Similar to pkgfmt, soljsonfmt formats your JSON in a consistent fashion.

  • soljsonvalidate. Checks your JSON against the schema found in /usr/lib/sstore/metadata/json-schema/.

On startup, sstored(8) validates all ssids found through static definitions in /usr/lib/sstore/metadata/json and /usr/lib/sstore/metadata/collections, as well as those found or added dynamically through providers such as kstat, dtrace, and userspace.

另请参见

soljsonfmt(1), soljsonvalidate(1), sstore(1), libsstore(3LIB), analytics(5), analytics(7), ssid(7), ssid-metadata(7), sstore(7), sstored(8)

https://json-schema.org/specification.html

https://tools.ietf.org/html/draft-zyp-json-schema-04