prometheus-community / prometheus-community/postgres_exporter
Set application_name for Postgres connection
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 3.6k
- Forks
- 835
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 10
Description
It would be nice if postgres_exporter would set an application (like postgres-exporter or so), so that it can be better identified in pg_stat_activity amonst other backends.
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 by locating the PostgreSQL connection setup in the postgres_exporter repository and read how exporter backends are opened. Check PostgreSQL's pg_stat_activity behavior for application_name. Done means exporter connections are identifiable there with a consistent application name, with tests or verification added where the repository supports them.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, postgresql
- Domain
- databases, observability
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100