Read CPU data

get/api/v1/metrics/cpu

Response

OK

Example response

{
  "data": {
    "physical_core": 4,
    "logical_core": 8,
    "frequency": 2500,
    "free_percent": 0.5,
    "usage_percent": 0.5
  },
  "errors": [
    {
      "metric": [
        "cpu.temperature"
      ]
    }
  ]
}

Changes

Changed in 4 of the 8 revisions of this API.725

    • removed the optional property errors/items/error from the response with the 200 status

      response-optional-property-removed

    • removed the optional property errors/items/error from the response with the 207 status

      response-optional-property-removed

    • added the optional property errors/items/err to the response with the 200 status

      response-optional-property-added

    • added the optional property errors/items/err to the response with the 207 status

      response-optional-property-added

  • a5791047c7e462See the full diff
    • the response property data/temperature became nullable for the status 200

      response-property-became-nullable

    • the response property data/temperature became nullable for the status 207

      response-property-became-nullable

    • the data/temperature response's property type/format changed from number/ to array/ for status 200

      response-property-type-changed

    • the data/temperature response's property type/format changed from number/ to array/ for status 207

      response-property-type-changed

    • the errors/items/metric response's property type/format changed from string/ to array/ for status 200

      response-property-type-changed

    • the errors/items/metric response's property type/format changed from string/ to array/ for status 207

      response-property-type-changed

    • the endpoint scheme security type AND scheme AND bearerFormat was added to the API

      api-security-added

    • the endpoint scheme security bearerAuth was removed from the API

      api-security-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added

    • api path removed without deprecation

      api-path-removed-without-deprecation

    This revision also has 10 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog