# How to export schema level metrics

**URL:** <https://discuss.prometheus.io/t/how-to-export-schema-level-metrics/1937>\
**Category:** Exporters and Metrics\
**Created:** [October 6, 2023, 1:17pm UTC](https://discuss.prometheus.io/t/how-to-export-schema-level-metrics/1937 "2023-10-06T13:17:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chethan4046](https://avatars.discourse-cdn.com/v4/letter/c/54ee81/32.png) [@chethan4046](https://discuss.prometheus.io/u/chethan4046)\
**Post date:** [October 6, 2023, 1:17pm UTC](https://discuss.prometheus.io/t/how-to-export-schema-level-metrics/1937/1 "2023-10-06T13:17:06Z")

</div>

“I’m currently using `postgres_exporter` to collect database metrics and have successfully created a Grafana dashboard to visualize these metrics. However, my new requirement is to add a new panel to gather schema-level metrics for a specific database. I’m currently unsure about the configuration steps for achieving this. While I came across some documentation on configuring custom metrics, it appears that this method has been deprecated.”

 ![Screenshot 2023-10-06 at 6.44.33 PM](https://europe1.discourse-cdn.com/flex017/uploads/prometheus/original/1X/c5bf0456efd4931ffe1c04794b8ffd83b77dda80.jpeg)

> **[GitHub - prometheus-community/postgres\_exporter: A PostgreSQL metric exporter...](https://github.com/prometheus-community/postgres_exporter)**
>
> A PostgreSQL metric exporter for Prometheus. Contribute to prometheus-community/postgres\_exporter development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![AlfaExploit](https://avatars.discourse-cdn.com/v4/letter/a/54ee81/32.png) [@AlfaExploit](https://discuss.prometheus.io/u/AlfaExploit)\
**Post date:** [November 23, 2023, 8:21am UTC](https://discuss.prometheus.io/t/how-to-export-schema-level-metrics/1937/2 "2023-11-23T08:21:16Z")

</div>

The exporter is poorly documented rendering it useless, I am in the same situation.
