getMetric v1.2.8

getMetric Sensor


Gives back the time series data of one metric. Resource should be provided from the one assoisated with this sensor.

States
  • State:

Raw data
  • data: desc

Properties
  • metric: name of the metric to query
  • from (optional): epoch time in milliseconds or ISO_8601 duration (when left empty, will query data for the past hour)
  • to (optional): epoch time in milliseconds (when left empty it will take the current time).
  • aggregate:
    • mean
    • medium
    • min
    • max
    • sum
  • grouping:
    • none (just skip in the query)
    • auto
    • second
    • minute
    • hour
    • day
    • week

Required properties:

  • metric
  • from
  • to
  • aggregate
  • grouping

States:

  • Collected
  • Not Collected

Raw data:

  • series (object)
  • query (double)