# Metrics available for the API

Available in...

* Cloud API Services Platform
* Cloud Big Data
* Cloud Big Data Platform
* Cloud Data Fabric
* Cloud Data Integration
* Cloud Data Management Platform
* Cloud Pipeline Designer Standard Edition
* Data Fabric

Prometheus and JVM metrics are provided to monitor your APIs. For more information about the metric types, see the [Prometheus documentation](https://prometheus.io/docs/concepts/metric_types/).

## JVM metrics

The standard JVM metrics are available for the API server, such as process\_cpu\_usage and jvm\_memory\_used\_bytes.

## API consumption metrics

The following Prometheus metrics are available for each API. You can use these to create dashboards and track the API usage.

List of available Prometheus metricsList of available Prometheus metrics

| Metric name | Description | Metric type | Labels |
| --- | --- | --- | --- |
| dataset\_api\_http\_requests\_total | Number of requests | Counter | <ul> <li> <span>api_path</span>: The path to the API.</li> <li> <span>api_id</span>: The ID of the API.</li> <li> <span>dataset_id</span>: The ID of the dataset.</li> <li> <span>method</span>: The HTTP or HTTPS method used in the request,                      <span>GET</span> for example.</li> <li> <span>code</span>: The HTTP or HTTPS response code, <span>200</span> for                    example.</li> <li> <span>action</span>: The action performed. It can be <span>read</span>,                      <span>read_all</span> or <span>count</span>.</li> </ul> |
| dataset\_api\_request\_duration\_seconds | Average duration of requests, in seconds | Histogram | <ul> <li> <span>api_path</span>: The path to the API.</li> <li> <span>api_id</span>: The ID of the API.</li> <li> <span>dataset_id</span>: The ID of the dataset.</li> <li> <span>method</span>: The HTTP or HTTPS method used in the request,                      <span>GET</span> for example.</li> <li> <span>code</span>: The HTTP or HTTPS response code, <span>200</span> for                    example.</li> <li> <span>action</span>: The action performed. It can be <span>read</span>,                      <span>read_all</span> or <span>count</span>.</li> </ul> |