Skip to content

fix(metrics): add _total suffix to memory enrichment counters#25496

Open
AkshantVats wants to merge 1 commit into
vectordotdev:masterfrom
AkshantVats:fix/memory-enrichment-counters-total-suffix
Open

fix(metrics): add _total suffix to memory enrichment counters#25496
AkshantVats wants to merge 1 commit into
vectordotdev:masterfrom
AkshantVats:fix/memory-enrichment-counters-total-suffix

Conversation

@AkshantVats
Copy link
Copy Markdown

@AkshantVats AkshantVats commented May 26, 2026

Summary

Renames three memory enrichment table counter metrics to end with _total, per instrumentation spec ("Counters MUST end with total").

Fixes #25455

Before After
memory_enrichment_table_failed_insertions memory_enrichment_table_failed_insertions_total
memory_enrichment_table_failed_reads memory_enrichment_table_failed_reads_total
memory_enrichment_table_ttl_expirations memory_enrichment_table_ttl_expirations_total

Breaking change

Anyone scraping the old metric names will need to update dashboards/alerts. These metrics were introduced with the memory enrichment table feature; happy to add deprecated aliases if maintainers prefer.

Test plan

cargo test -p vector-common
test result: ok. 29 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 1.00s

@AkshantVats AkshantVats requested a review from a team as a code owner May 26, 2026 05:52
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 26, 2026

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@AkshantVats
Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

Rename three memory enrichment table counters to comply with the
instrumentation spec (counters must end with _total).

Fixes vectordotdev#25455

Co-authored-by: Cursor <cursoragent@cursor.com>
@AkshantVats AkshantVats force-pushed the fix/memory-enrichment-counters-total-suffix branch from 3133039 to 6370506 Compare May 26, 2026 15:04
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.

metrics: rename memory enrichment table counters to end with _total

1 participant