Metrics (Json Schema Metrics)

This folder exposes schema generation, query execution and CoV subscription metrics. If needed, you can log or link individual metric values to generate alarms.

Metrics help with determining sizing and provisioning capacity on a cloud platform by estimating the traffic a station is likely to generate with a given schema. They may also assist in identifying performance problems. To assist debugging, use the reset action.

Figure 37.   Metrics as reported from the schema
Image

To view these values, expand Config > JsonSchema > Config > Debug and double–click Metrics.

The metrics provide three categories of performance information: query performance, generate performance, and subscription performance.

Queries Generation Subscription
Query Folder Executions Request Schema Generations Subscribes
Individual Query Executions Schema Generations Unsubscribes
Query Fails Schema Generation Fails Subscription Events
Last Query Fail Reason Last Schema Generation Fail Reason Subscription Events Ignored
Last Query Execution Millis Output Changes Cache Hits
Query Execution Millis Total Last Output Size Cache Misses
Query Execution Millis Max Output Size Total  
Query Execution Millis Avg Output Size Max  
  Output Size Avg  
  Resolve Errors  

Most metrics are self-explanatory. Execution millis report the number of milliseconds spent performing a query. Cache hits indicate the number of schema string generations that found a cached value for a binding. Cache misses indicate the number of schema string generations that found no cached value for a binding.