priyen-stripe opened a new pull request, #18427: URL: https://github.com/apache/pinot/pull/18427
## Summary Adds two new `ServerMeter` entries and instruments `doAddRecord()` in both `ConcurrentMapPartitionUpsertMetadataManager` and `ConcurrentMapPartitionUpsertMetadataManagerForConsistentDeletes` to emit per-table counters that distinguish append (new PK) from update (existing PK) traffic in upsert tables. Out-of-order records are counted by neither metric, consistent with the existing `UPSERT_OUT_OF_ORDER` meter. New metric names: - UPSERT_NEW_KEYS_INSERTED and UPSERT_EXISTING_KEYS_UPDATED ## Testing Tested internally at Stripe on test tables, worked: <img width="1459" height="191" alt="image" src="https://github.com/user-attachments/assets/895fa63e-0aed-4874-a089-c62b2afa1a58" /> ## Label `observability` -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
