Skip to content

[*] Isolated Prom Registry#1275

Closed
abhijeetsharma200 wants to merge 4 commits intocybertec-postgresql:masterfrom
abhijeetsharma200:feat/refactor-prom-01-isolated-registry
Closed

[*] Isolated Prom Registry#1275
abhijeetsharma200 wants to merge 4 commits intocybertec-postgresql:masterfrom
abhijeetsharma200:feat/refactor-prom-01-isolated-registry

Conversation

@abhijeetsharma200
Copy link
Copy Markdown
Contributor

Description

Part 1 of #1267.

AI & Automation Policy

  • I am the human author and take full personal responsibility for every change in this PR.
  • No AI or automated generative tool was used in any part of this PR OR I have disclosed all tool(s) below.

AI/automation tools used (leave blank if none):

Tests drafted with the assistance of Gemini 3

Checklist

  • Code compiles and existing tests pass locally.
  • New or updated tests are included where applicable.
  • Documentation is updated where applicable.

@pashagolub
Copy link
Copy Markdown
Collaborator

what is registry and why do we need it?

@abhijeetsharma200
Copy link
Copy Markdown
Contributor Author

what is registry and why do we need it?

A registry tracks all registered collectors. When /metrics is scraped, it calls Collect() on each. It enforces consistency at registration time, catching metric conflicts early. Added go and process collectors as they come in the global registry(Docs).

@pashagolub
Copy link
Copy Markdown
Collaborator

Thanks. There is no need in registry

@pashagolub pashagolub closed this Mar 10, 2026
@pashagolub pashagolub self-assigned this Mar 10, 2026
@pashagolub pashagolub added the wontfix This will not be worked on label Mar 10, 2026
@abhijeetsharma200 abhijeetsharma200 deleted the feat/refactor-prom-01-isolated-registry branch March 10, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wontfix This will not be worked on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants