prometheus-community / prometheus-community/postgres_exporter
Export schema level metrics
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 3.6k
- Forks
- 835
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 10
Description
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.”
Example: I have database test and two schema a and b, I want to show/ show size of a and b in grafana
https://discuss.prometheus.io/t/how-to-export-schema-level-metrics/1937
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the postgres_exporter configuration and the custom-metrics documentation referenced in the issue, then review the linked Prometheus discussion. Determine how schema-level size metrics for schemas a and b in database test should be configured or supported. Done means those schema metrics can be exposed for Grafana to display.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, grafana, postgres, prometheus
- Domain
- databases, observability
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100