# Observe Aerospike Cloud

Monitor the health and performance of your Aerospike Cloud database clusters with metrics and logs.

At a glance, you can access:

-   **[Cloud Console](https://aerospike.com/docs/cloud/observe/console-metrics)** metrics for quick health checks in the UI
-   **[Cloud Public API metrics](https://aerospike.com/docs/cloud/observe/api-metrics)** for programmatic access and scaling decisions
-   **[Aerospike Database metrics](https://aerospike.com/docs/cloud/observe/dp-metrics)** for full Prometheus monitoring
-   **[Aerospike Database logs](https://aerospike.com/docs/cloud/observe/dp-logs)** for troubleshooting and debugging

## When to use Cloud metrics vs Aerospike Database metrics

Use Cloud metrics for quick, high-level status checks and scaling decisions. For production monitoring and alerting, use Aerospike Database metrics, which expose the full per-node Prometheus metrics set.

## Cloud Console metrics

View Cloud Console metrics for your database cluster in the [Cloud Console](https://console.aerospike.com/). Use Cloud Console metrics for quick health checks and to gauge cluster performance at a glance.

## Cloud Public API metrics

Access the same metrics programmatically through the Cloud Public APIs using [Cloud API keys](https://aerospike.com/docs/cloud/manage-apis/cloud-api-use#create-a-cloud-user-and-key). Use these metrics to check the basic status of your cluster and make high-level decisions like scaling.

::: caution
Do not use the Cloud Public API metrics endpoint for production monitoring purposes. The Cloud Public API metrics are rough estimates, limited to a 1-hour time window, and are refreshed every few seconds. For comprehensive and accurate monitoring, use the [Aerospike Database metrics endpoint](https://aerospike.com/docs/cloud/observe/dp-metrics) instead.
:::

## Aerospike Database metrics

For production monitoring, use the Aerospike Database metrics endpoint, which exposes the full Prometheus metrics set from each cluster node. Metrics are on port `9145` at the `/metrics` path and require a [VPC peering connection](https://aerospike.com/docs/cloud/manage/vpc-peering/) between your AWS VPC and the Aerospike Cloud database VPC.

Pair Aerospike Database metrics with Prometheus and Grafana for:

-   Detailed monitoring and custom dashboards
-   Alerting on memory, disk, and cluster health
-   Automated scaling using the [Cloud API](https://aerospike.com/docs/cloud/observe/api-metrics) when thresholds are exceeded

For automated scaling decisions, use [Cloud Public API metrics](https://aerospike.com/docs/cloud/observe/api-metrics) instead of the database metrics endpoint.

See [Aerospike Database metrics](https://aerospike.com/docs/cloud/observe/dp-metrics) for detailed instructions on collecting metrics from your cluster. For a complete list of metrics, see the [Metrics Reference](https://aerospike.com/docs/database/reference/metrics).

## Aerospike Database logs

Use [Aerospike Database logs](https://aerospike.com/docs/cloud/observe/dp-logs) to troubleshoot and debug your cluster.

## Tutorial

[Monitor with Grafana](https://aerospike.com/docs/cloud/monitor-cloud-with-grafana) - Deploy Grafana Alloy on ECS, configure Grafana Cloud dashboards and alerts, and scale your cluster with the Cloud API.