-
Notifications
You must be signed in to change notification settings - Fork 18
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
add licence verification
First, make sure:
- 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;- register yourself otherwise;
- find the function you want to monitor -- note the
uuid
field of the response;- on-board a package containing it, if you don't find it;
- find the instance of the function you want to monitor -- note the
uuid
field of the response;- find a service containing that function;
- instantiate that service;
…/functions/:function_uuid/instances/:instance_uuid/asynch-mon-data?metrics=cpu_util&since=…&until=…
…/functions/:function_uuid/instances/:instance_uuid/synch-mon-data?metrics=cpu_util&for=<number of seconds>