---
title: Consuming metrics with Prometheus
description: After the server has been configured to publish its metrics, you can configure Prometheus to consume them.
component: pingauthorize
version: 10.1
page_id: pingauthorize:pingauthorize_server_administration_guide:paz_consume_metrics_prometheus
canonical_url: https://docs.pingidentity.com/pingauthorize/10.1/pingauthorize_server_administration_guide/paz_consume_metrics_prometheus.html
revdate: August 10, 2023
---

# Consuming metrics with Prometheus

After the server has been configured to publish its metrics, you can configure Prometheus to consume them.

The basic process is to update the server's `prometheus.yml` file to add a `job` element to the `scrape_configs` section for the server from which the metrics should be retrieved, as in the following example:

```
- job_name: "paz.example.com:8443"
  metrics_path: "/metrics"
  scheme: "https"

  tls_config:
    ca_file: paz.example.com-ca-certificate.pem

  static_configs:
    - targets: ["paz.example.com:8443"]
```

See the Prometheus documentation for complete details.
