{ "opencollection": "1.0.0", "info": { "name": "OCI Control Center Occ Metrics API", "version": "20230515" }, "items": [ { "info": { "name": "occMetrics", "type": "folder" }, "items": [ { "info": { "name": "LIST available metrics (for a namespace)", "type": "http" }, "http": { "method": "GET", "url": "http://127.0.0.1/20230515/metricProperties/:namespaceName", "headers": [ { "name": "opc-request-id", "value": "" } ], "params": [ { "name": "namespaceName", "value": "", "type": "path", "description": "The name of the source service emitting the metric.\n" }, { "name": "page", "value": "", "type": "query", "description": "For list pagination. The value of the `opc-next-page` response header from the previous \"List\" call.\nFor important details about how pagination works, see List Pagination.\n" }, { "name": "limit", "value": "", "type": "query", "description": "For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call.\n" }, { "name": "compartmentId", "value": "", "type": "query", "description": "The OCID of the compartment to use for authorization. To use the root compartment, provide the tenancyId.\n" } ] }, "docs": "Returns a list of available metrics for the given namespace. The results for metrics with dimensions includes list of all the associated dimensions. The results are sorted by the metricName and then by dimension in ascending alphabetical order. For a list of valid namespaces, see [List Namespaces API](#/en/occ/20230515/NamespaceCollection/ListNamespaces).\n" }, { "info": { "name": "List available namespaces (services)", "type": "http" }, "http": { "method": "GET", "url": "http://127.0.0.1/20230515/namespaces", "headers": [ { "name": "opc-request-id", "value": "" } ], "params": [ { "name": "page", "value": "", "type": "query", "description": "For list pagination. The value of the `opc-next-page` response header from the previous \"List\" call.\nFor important details about how pagination works, see List Pagination.\n" }, { "name": "limit", "value": "", "type": "query", "description": "For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call.\n" }, { "name": "compartmentId", "value": "", "type": "query", "description": "The OCID of the compartment to use for authorization. To use the root compartment, provide the tenancyId.\n" } ] }, "docs": "List all the available source services called namespaces emitting metrics for this region. The namespaces are sorted in ascending alphabetical order.\n" }, { "info": { "name": "Requests summarized data for a metric", "type": "http" }, "http": { "method": "POST", "url": "http://127.0.0.1/20230515/requestSummarizedMetricData", "headers": [ { "name": "opc-request-id", "value": "" } ], "params": [ { "name": "page", "value": "", "type": "query", "description": "For list pagination. The value of the `opc-next-page` response header from the previous \"List\" call.\nFor important details about how pagination works, see List Pagination.\n" }, { "name": "limit", "value": "", "type": "query", "description": "For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call.\n" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Returns the summarized data for the given metric from the given namespace. The aggregation method depends on the metric.\nThe metric data can be filtered by providing the dimension, startTime or endTime. The metric\ndata in the response is sorted by dimension in ascending order and then by sampleTime in ascending chronological order.\n" } ] } ], "bundled": true }