UsageStatsThreshold v0.0.6

Sensor to check Waylay usage metrics.

Supported services and metrics are:

  • sandbox: executions
  • nativePlug: executions
  • broker: messages
  • webscripts: executions
  • resources: count

Required parameters:

  • threshold
  • service: one of sandbox, nativePlug, broker, webscripts, resources
  • metric: executions, messages or count(see above)
  • timeZone: timezone to use to determine begin of month

If the specified metric could be successfully retrieved, the value is added as consumption in the rawData

Required properties:

  • threshold
  • service
  • metric
  • timeZone

External Settings:

  • waylay_stats
  • waylayToken

States:

  • BELOW
  • EQUAL
  • ABOVE

Raw data:

  • consumption (double)