Data - Retrieve Performance Data

Retrieves performance data for the specified scope/parameters.

POST http://<Servername>/OperationsManager/data/performance

Request Body

Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"

Name Type Description
duration

integer

Duration

id

string

performanceRequest ID

performanceCounters

object[]

performance Counters

Responses

Name Type Description
200 OK

PerformanceResponse

OK.Successfully retrieved performance data.

Media Types: "application/json", "text/json", "application/xml", "text/xml"

Examples

RetrievePerformanceData

Sample Request

POST http://<Servername>/OperationsManager/data/performance

Sample Response

{
  "datasets": [
    {
      "data": {},
      "id": "10a8e3ed-27d7-e860-d22f-c6ea7820883824"
    }
  ],
  "legends": {
    "tableColumns": [
      {
        "field": "performanceobject",
        "header": "Performance object",
        "type": null,
        "hidden": false
      },
      {
        "field": "performancecounter",
        "header": "Performance counter",
        "type": null,
        "hidden": false
      },
      {
        "field": "performanceinstance",
        "header": "Performance instance",
        "type": null,
        "hidden": false
      },
      {
        "field": "averagevalue",
        "header": "Average value",
        "type": null,
        "hidden": false
      },
      {
        "field": "maximumvalue",
        "header": "Maximum value",
        "type": null,
        "hidden": false
      },
      {
        "field": "minimumvalue",
        "header": "Minimum value",
        "type": null,
        "hidden": false
      },
      {
        "field": "lastvalue",
        "header": "Last value",
        "type": null,
        "hidden": false
      },
      {
        "field": "path",
        "header": "Path",
        "type": null,
        "hidden": false
      },
      {
        "field": "target",
        "header": "Target",
        "type": null,
        "hidden": false
      }
    ],
    "rows": [
      {
        "performanceobject": "ManagementGroupAlerts",
        "performancecounter": "AlertsCount",
        "performanceinstance": "Total",
        "averagevalue": 0,
        "maximumvalue": -1.7976931,
        "minimumvalue": 1.79769313,
        "lastvalue": 0,
        "path": "",
        "target": "All Management Servers Resource Pool",
        "id": "10a8e3ed-27d7-e860-d22f-c6ea7820883824"
      }
    ]
  }
}

Definitions

Name Description
GraphData
PerformanceRequest
PerformanceResponse
TableColumn
TableDataResponse

GraphData

Name Type Description
data

object

id

string

PerformanceRequest

Name Type Description
duration

integer

Duration

id

string

performanceRequest ID

performanceCounters

object[]

performance Counters

PerformanceResponse

Name Type Description
datasets

GraphData[]

legends

TableDataResponse

TableColumn

Name Type Description
field

string

Name of the Column

header

string

Header of the column

hidden

boolean

Is column hidden

type

string

Type of the Column

TableDataResponse

Name Type Description
rows

object[]

Table Rows of data

tableColumns

TableColumn[]

Table columns of data