Search…
⌃K
Links

Metrics API

Metrics allow you to add and visualize time series data for your performance testing.
get
nsim.iotify.io/api/datastore/:workspaceId/metric/list
Get a list of available metrics
// Example curl command
curl -X POST -H "Accept: application/json" -H "Content-Type: application/json" -H "key:$KEY" -H "domain:nsim.iotify.io" nsim.iotify.io/api/datastore/$WORKSPACEID/metric/list
post
nsim.iotify.io/api/datastore/:workspaceId/metric/list
/:metricKey
Get the data for a metric
// Example curl command
curl -X POST -H "Accept: application/json" -H "Content-Type: application/json" -H "key:$KEY" -H "domain:nsim.iotify.io" -d '{"timeInterval":"1","timeUnit":"s","aggregateBy":"AVG","entityId":"fbe7933c-b27e-4397-8214-21a82e2e011b"}' nsim.iotify.io/api/datastore/$WORKSPACEID/metric/$METRICKEY