singhvishalkr opened a new pull request, #1122:
URL: https://github.com/apache/pulsar-site/pull/1122

   ## Motivation
   
   Fixes #24029.
   
   `BookKeeperServerStats` aliases the counter name so the metric the bookie 
actually emits is `bookie_DELETED_LEDGER_TOTAL`, not 
`bookie_DELETED_LEDGER_COUNT`:
   
   ```java
   // 
bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/BookKeeperServerStats.java
   String DELETED_LEDGER_COUNT = "DELETED_LEDGER_TOTAL";
   ```
   
   Operators who set up scrape rules from `reference-metrics.md` as written 
today get an empty series back on any Pulsar/BookKeeper version that's shipping 
the `_TOTAL` name — which per the linked issue is everything on the 3.0.x 
line and later.
   
   ## Modifications
   
   Rename `bookie_DELETED_LEDGER_COUNT` → `bookie_DELETED_LEDGER_TOTAL` in:
   
   - `docs/reference-metrics.md` (current)
   - `versioned_docs/version-4.2.x/reference-metrics.md`
   - `versioned_docs/version-4.1.x/reference-metrics.md`
   - `versioned_docs/version-3.3.x/reference-metrics.md`
   
   Description is unchanged; only the metric identifier is corrected. Older 
versioned docs (2.x, 3.0-3.2) are intentionally not touched since I can't 
verify when the rename actually landed on each stream — happy to extend 
coverage if a maintainer confirms the scope.
   
   ## Verifying this change
   
   Grep the rendered docs for either spelling — only 
`bookie_DELETED_LEDGER_TOTAL` should remain on the touched versions.
   
   ## Does this pull request potentially affect one of the following parts:
   
   - [x] `The docs`
   - [ ] Anything else
   
   ## Documentation
   
   - [x] `doc` — this PR is the docs fix.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to