Delen via


Data - Retrieve Performance Data

Hiermee worden prestatiegegevens opgehaald voor het opgegeven bereik/de opgegeven parameters.

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

Aanvraagbody

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

Name Type Description
duration

integer

Duur

id

string

performanceRequest-id

performanceCounters

object[]

prestatiemeteritems

Antwoorden

Name Type Description
200 OK

PerformanceResponse

OK. De prestatiegegevens zijn opgehaald.

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

Voorbeelden

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"
      }
    ]
  }
}

Definities

Name Description
GraphData
PerformanceRequest
PerformanceResponse
TableColumn
TableDataResponse

GraphData

Name Type Description
data

object

id

string

PerformanceRequest

Name Type Description
duration

integer

Duur

id

string

performanceRequest-id

performanceCounters

object[]

prestatiemeteritems

PerformanceResponse

Name Type Description
datasets

GraphData[]

legends

TableDataResponse

TableColumn

Name Type Description
field

string

Naam van de kolom

header

string

Koptekst van de kolom

hidden

boolean

Is de kolom verborgen

type

string

Type kolom

TableDataResponse

Name Type Description
rows

object[]

Tabelrijen met gegevens

tableColumns

TableColumn[]

Tabelkolommen met gegevens