25.01.2015 Views

Managing Ensemble Productions - InterSystems Documentation

Managing Ensemble Productions - InterSystems Documentation

Managing Ensemble Productions - InterSystems Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

System Monitor<br />

2. Set the ^Ens.Monitor.Settings global in your namespace. This global indicates which business metrics are<br />

supplying additional data to the System Monitor page. For each business metric, supply three ObjectScript statements,<br />

similar to the following:<br />

Set ^Ens.Monitor.Settings("MetricClasses",1,"Metric") = "MetricConfigName"<br />

Set ^Ens.Monitor.Settings("MetricClasses",1,"Title") = "Title for Display"<br />

Set ^Ens.Monitor.Settings("MetricClasses",1,"Instance") = "MetricInstanceName"<br />

Where:<br />

• These statements are appropriate for the first business metric you add. For additional business metrics, in place<br />

of the number 1, use an integer n where n is the same for all three statements. Increase n by 1 for each additional<br />

business metric class that you want to display on the System Monitor page.<br />

• In place of "MetricConfigName" provide the configured name of the business metric component. (If you do<br />

not enter a name when you add the metric to the production, the component name defaults to the class name.)<br />

• If you do not supply the statement that sets the "Title" value, the value of "Metric" is used as a default<br />

"Title".<br />

• In place of "MetricInstanceName" provide the metric instance name. If the metric does not have instances,<br />

you may omit the statement that sets the "Instance" value. If it does have instances and you do not supply a<br />

value, the first instance is used.<br />

For each business metric that you add, the System Monitor page indicates when it last updated the metric information, if<br />

there is any data for the given metric or instance, and whether or not the given metric is currently running. As with any<br />

entry on the System Monitor page, click the metric name to display useful details and links to more information.<br />

66 <strong>Managing</strong> <strong>Ensemble</strong> <strong>Productions</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!