Skip to main content

Retrieve Performance Metrics Information Based on Widget ID

GET 

/query/visualization/:id

Call this API to retrieve the Key Performance Indicators (KPIs) for a specific widget. The id parameter must be provided to specify the widget of a dashboard for which you want to retrieve the KPIs.

Request

Path Parameters

    id integerrequired

    Unique identifier for the widget. This widget ID is required to fetch the corresponding performance metrics and their values from the widgets.

Query Parameters

    discard.dummy.rows string

    Indicates whether to discard rows with dummy values in the performance metrics. The default value is `yes'. You can leave this unchanged.

Responses

Successful response. The request was successful, and the performance metrics for the specified widget ID were returned. The response schema will vary depending on the type of counter (Scalar or Instance).

Schema
    oneOf
    response-code integer
    status string
    result object[]
  • Array [
  • monitor string
    system.cpu.percent^max integer
  • ]
Loading...