Skip to content

Function instance monitoring feature

José Bonnet edited this page Jun 7, 2017 · 7 revisions

Function instances monitoring data is available to the function's developer both in synchronous and asynchronous form

Asynchronous monitoring data

Synchronous monitoring data

Private functions

add licence verification

Examples

First, make sure:

  1. you are logged in as the function's developer or have a (developer's) licence for it -- note the access_token field of the response;
  2. find the function you want to monitor -- note the uuid field of the response;
  3. find the instance of the function you want to monitor -- note the uuid field of the response;

Asynchronous monitoring data

…/functions/:function_uuid/instances/:instance_uuid/asynch-mon-data?metrics=cpu_util&since=…&until=…

Synchronous monitoring data

…/functions/:function_uuid/instances/:instance_uuid/synch-mon-data?metrics=cpu_util&for=<number of seconds>

See also

Clone this wiki locally