Skip to content

feat(transform): add transform stats collector - #1197

Open
PovilasV1 wants to merge 1 commit into
prometheus-community:masterfrom
PovilasV1:add-transform-collector
Open

feat(transform): add transform stats collector#1197
PovilasV1 wants to merge 1 commit into
prometheus-community:masterfrom
PovilasV1:add-transform-collector

Conversation

@PovilasV1

Copy link
Copy Markdown

Add a new default-disabled transform collector that queries /_transform/_all/_stats and exposes per-transform metrics labeled by id: state and health_status (one-hot gauges), indexer counters (documents/pages/index/search/processing/delete, failures), exponential average gauges, and checkpoint/operations_behind progress gauges.

health is parsed as a pointer so pre-8.x clusters that omit the block don't report a false "unknown".

Includes a fixture-backed test, README flag/privilege rows, and metrics.md documentation.

Add a new default-disabled `transform` collector that queries
/_transform/_all/_stats and exposes per-transform metrics labeled by id:
state and health_status (one-hot gauges), indexer counters
(documents/pages/index/search/processing/delete, failures), exponential
average gauges, and checkpoint/operations_behind progress gauges.

health is parsed as a pointer so pre-8.x clusters that omit the block
don't report a false "unknown".

Includes a fixture-backed test, README flag/privilege rows, and metrics.md
documentation.

Signed-off-by: Povilas Vaitkus <povilas.vaitkus@hostinger.com>
@PovilasV1
PovilasV1 force-pushed the add-transform-collector branch from 00bf86e to 255a465 Compare June 29, 2026 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant