prometheus-community / prometheus-community/postgres_exporter

Set application_name for Postgres connection

Open
#352 2 comments 1 reaction 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.