Instrumentation Level

Instrumentation levels collect performance metrics of a form. There are four instrumentation levels - 0, 1, 2, and 3.

  • The default is level 0, that is None, which does not collect any metrics
  • Level 1, that is Basic collects the load timings of the form
  • Level 2, that is Call counts collects the details of the number of times each action or validation script was executed in addition to the load timings
  • Level 3, that is Call times collects the details of the duration of the execution of each action and validation script in addition to the number of executions and load timings
You can change the default instrumentation level from Window > Preferences > Form Designer > Preview/Live Dev by selecting an appropriate Instrumentation Level.

At runtime (Openspace, Workspace or a Custom Client Application), if you want to collect performance metrics, you can pass in a URL query parameter tibco_instr with a value 0,1, 2, or 3. For example:

http://<server-host>:<port>/openspace/openspace.html?tibco_instr=1

With this URL query parameter, you can view the performance metrics anytime during the lifecycle of the form by pressing ALT+F12.

Note: The earlier value of tibco_instr=true is now deprecated. Passing true is equivalent to passing 1.