prometheus-community / prometheus-community/postgres_exporter

Add collector for corrupt indexes

Open
#879 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Proposal

Add a collector for tables with corrupt indexes. This has been causing some issues when executing certain update queries. It would be nice to proactively be informed of indexes that are corrupt, before we try to update data and notice this issue.

If you agree on this idea, I can add a PR to add a collector with this functionality.

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

The issue names no files, tests, or entry points. Start by reviewing existing postgres_exporter collectors and how they expose PostgreSQL health metrics; done means a collector proactively reports tables with corrupt indexes and includes coverage for that behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, postgresql
Domain
databases, observability-sre
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.