Get Metrics Data Collection

Get Metrics Data Collection

Get current metrics data collection flag information.

Request
URI
GET
https://{api_host}/napp/api/v1/metrics/data-collection
COPY
Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns DataCollection of type(s) application/json
{
    "metrics_toggle_nsx": false,
    "metrics_toggle_nsx_cloud_native": false,
    "metrics_toggle_nsx_config": false
}
boolean
metrics_toggle_nsx
Optional

Boolean to indicate if metrics is enabled/disabled on NSX

boolean
metrics_toggle_nsx_cloud_native
Optional

Boolean to indicate if metrics is enabled/disabled for all NAPP related metrics

boolean
metrics_toggle_nsx_config
Optional

Boolean to indicate if NSX configuration streaming is enabled/disabled from NSX to NAPP metrics service.


400

Invalid Input was provided for this request. Please check the API documentation.

Operation doesn't return any data structure

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/napp/api/v1/metrics/data-collection