Monitoring Level - Xyna-Factory/xyna GitHub Wiki

The Monitoring Level of a Xyna Order is an integer that defines the level of information that is stored inside the Order Archive and thus available in the Order Overview section of the Xyna Process Monitor.

Table of Contents

Levels

The following levels exist:

  • 0: No data is stored, the Order is not visible
  • 5: The Order is visible if it fails and the Order Archive contains the stacktraces of the error(s).
  • 10: The Order is always visible but does not differentiate between different Order States.
  • 15: The Order is always visible and all Order State changes are stored.
  • 17: The Order is visible at runtime with all Audit data, but the data is fully deleted when the Order finishes successfully. The full Audit data is kept if it fails.
  • 18: The same as 17 but only the Audit data is deleted if it finishes successfully, so that the entry is still visible in the Order Overview in all cases.
  • 20: Full Audit data is stored in all cases.

Management

The Monitoring Level can be configured as integer or as Xyna Property in one of the Order Type properties in the Order Types section of the Xyna Factory Manager or with the CLI:

 ''# Remove a previously configured Monitoring Level''
 ./xynafactory.sh '''removemonitoringlevel''' -orderType <arg> [-applicationName <arg>] [-versionName <arg>] [-workspaceName <arg>]
 
 ''# Set the default Monitoring Level''
 ./xynafactory.sh '''setdefmonlvl''' -monitoringLevel <arg>
 
 ''# Set the Monitoring Level for one Order Type, thereby overwriting the default value''
 ./xynafactory.sh '''setmonlvl''' [-applicationName <arg>] -code <arg> -orderType <arg> [-versionName <arg>] [-workspaceName <arg>]

Default

If the Monitoring Level is not explicitly set, the default Monitoring Level is used. It is defined by the Xyna Property xyna.default.monitoringlevel, which can be changed in the Xyna Properties section of the Xyna Factory Manager or via CLI:

 ./xynafactory.sh '''set''' -key xyna.default.monitoringlevel -value <arg>

or

 ./xynafactory.sh '''setdefmonlvl''' -monitoringLevel <arg>

It will be shown as Use Default or xyna.default.monitoringlevel in Order Types section of the Xyna Factory Manager.

See Also

⚠️ **GitHub.com Fallback** ⚠️