Retrieve Details of a Specific Metric Instance

get

/monitoring/monitoring/{idDomainName}/.customer/api/v1/metricSeries/{metricSeriesId}

Request

Path Parameters
Query Parameters
Header Parameters
  • Basic Authentication credentials. The user must be located in the identity domain name specified by the header X-ID-TENANT-NAME.
  • Set to the identity domain ID where the user specified in the Authorization header resides.
Back to Top

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : MetricSeries
Type: object
Show Source
Nested Schema : MetricType
Type: object
Show Source
Nested Schema : MetricSubject
Type: object
Show Source
Nested Schema : MetricSubjectType
Type: object
Show Source
Nested Schema : MetricUnit
Type: object
Show Source
Nested Schema : properties
Type: array
Properties of the subject.
Show Source
Nested Schema : MetricProperty
Type: object
Show Source
Back to Top

Examples

The following example shows how to retrieve details of a specific metric instance by submitting a GET request on the REST resource using cURL. See Use cURL.

curl -X GET -H "Authorization: Basic d2VibG9naWM6V2VsY29tZTE=" -H "X-ID-TENANT-NAME:mydomain" https://monitoring.us.oraclecloud.com/monitoring/mydomain/.customer/api/v1/metricSeries/821ce631-691e-494e-ba69-526739e086e2

Example of Response Header

The following shows an example of the response header.

HTTP/1.1 200 OK
Date: Tue, 08 Mar 2016 12:20:49 GMT
Transfer-Encoding: chunked
Content-Type: application/json

Example of Response Body

The following example shows the contents of the response body in JSON format:

{
  "id": "821ce631-691e-494e-ba69-526739e086e2",
  "metricType": {
    "id": "compute.NETWORK.RX_BYTES_PER_SEC",
    "canonicalLink": "/monitoring/mydomain/.customer/api/v1/metricTypes/compute.NETWORK.RX_BYTES_PER_SEC"
  },
  "subject": {
    "id": "bb1ce631-691e-494e-ba69-526739e086e2",
    "canonicalLink": "/monitoring/mydomain/.customer/api/v1/metricSubjects/bb1ce631-691e-494e-ba69-526739e086e2"
  },
  "canonicalLink": "/monitoring/mydomain/.customer/api/v1/metricSeries/821ce631-691e-494e-ba69-526739e086e2"
}
Back to Top