prometheus-community / prometheus-community/postgres_exporter

Metrics from multiple RDS instances on different versions not shown

Open
#682 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Go
Stars
3.6k
Forks
835
Avg merge
2d 4h
Merged PRs (30d)
10

Description

What did you do?
Configured exporter to pull metrics from multiple instances via DATA_SOURCE_NAME environment variable with a comma separated list. All targets are RDS, some of them are on Postgres version 11.x, some on 12.x and 13.x, however looks like the exporter is not happy when I try mixing the versions as no metrics are shown. If I configure the exporter to pull only from database running on version 11.x, it is okay, metrics are shown, same goes for 12.x and 13.x, but not all together.
I am not sure if this is expected or not?

What did you expect to see?
Metrics, lots of them, from multiple RDS versions :)

What did you see instead? Under which circumstances?

Environment
Exporter running in Kubernetes cluster on EKS

  • postgres_exporter version:
    v0.10.1
    v0.11.0
    v0.12.0-rc.0

  • PostgreSQL version:
    11.x
    12.x
    13.x

  • Logs:
    No errors in the logs, it is making successful connection to each database regardless of database version

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 with the DATA_SOURCE_NAME entry point and reproduce the issue using mixed PostgreSQL 11.x, 12.x, and 13.x RDS instances. Compare the exporter’s exposed metrics and connection behavior with single-version configurations; done means metrics from all configured versions are shown together.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, go, postgresql, prometheus
Domain
cloud, databases, observability
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.