Skip to content

Overview

Development

Overview

IDEs

API Explorer

MonitorMethods

MonitorMethods contains one-liners for:

  • managing the monitoring policies of TORO Integrate
  • configuring the cost of an invocation
  • searching documents in the Monitor search index
  • checking whether an invocation can be executed or not based on set Monitor rules

Methods in this class are available for use in both Gloop and Groovy. Here are some example usages:

Sample Gloop service showing how to use the MonitorMethods one-liners

1
2
// Fetch the monitor rule named 'developer-use'
'developer-use'.getMonitorRule()