System Administration > Monitoring > Latency Profiles

Create a new latency profile

Request:

Method:
POST
URI Path(s):
/api/v1/latency-profiles
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
LatencyStatProfile+

Example Request:

POST https://<nsx-mgr>/api/v1/latency-profiles { "sampling_rate": 100, "pnic_latency_enabled": false, }

Successful Response:

Response Code:
201 Created
Response Headers:
Content-type: application/json
Response Body:
LatencyStatProfile+

Example Response:

{ "sampling_rate" : 100, "pnic_latency_enabled" : false, "resource_type" : "LatencyStatProfile", "id" : "2cec0292-a0e2-44dd-b5e6-975e13be8c89", "display_name" : "2cec0292-a0e2-44dd-b5e6-975e13be8c89", "_create_user" : "admin", "_create_time" : 1554360733597, "_last_modified_user" : "admin", "_last_modified_time" : 1554360733597, "_system_owned" : false, "_protection" : "NOT_PROTECTED", "_revision" : 0 }

Required Permissions:

crud

Feature:

latency_stat

Additional Errors: