Execute Analytic Service for specific network service - sonata-nfv/tng-analytics-engine GitHub Wiki
Scope: This functionality is used for realizing an analysis upon the data generated by a network service activity
REST - API: http://profiler_server_IP_address/service/sp/{nsr_id}
nsr_id: the network service record id
POST body parameters
{
"name": "String with the name of the analytic service",
"metrics": "JSONArray. This is an optional field",
"start": "start datetime to fetch timeseries data (eg.2019-03-04T07:30:30.781Z)",
"end": "end datetime to fetch timeseries data (eg.2019-03-04T07:30:30.781Z)"
}
The result of such a call is a JSONArray that contains a set of urls where the end user can see the profiling analysis results.
A response example should be:
[
"http://opencpu_server/ocpu/tmp/x0d8b61dcbe8022/console",
"http://opencpu_server/ocpu/tmp/x0d8b61dcbe8022/files/finaldata.csv",
"http://opencpu_server/ocpu/tmp/x0d8b61dcbe8022/files/metricsCombination.html"
]