Go to main content

man pages section 7: Standards, Environments, Macros, Character Sets, and Miscellany

Exit Print View

Updated: Thursday, June 13, 2019
 
 

ssid-schema(7)

Name

ssid-schema - statistics store identifier schema

Synopsis

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

Description

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.

See Also

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

http://json-schema.org/documentation.html

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