wyxxxcat opened a new pull request, #70801: URL: https://github.com/apache/doris/pull/70801
### Background Cloud compaction records obsolete rowsets in the metadata store. The Recycler later deletes their data and removes the corresponding KV records. ### What problem does this PR solve? Issue Number: None Related PR: None PR Type: Enhancement Problem Summary: Operators need per-instance visibility into how quickly recycle rowset KV records are added and removed. Add two counters labeled with `instance_id` and `resource_type`, using `recycle_rowset_key` as the resource type. ### Details - **Before and after:** Add `recycler_instance_recycle_kv_put_total` for direct compaction puts staged in a KV transaction and `recycler_instance_recycle_kv_remove_total` for successful key removals in prepare-rowset cleanup, regular rowset batches, and threshold-triggered asynchronous batches. - **Configs and defaults:** None. - **Impact on existing users:** Cloud operators can monitor both counters per instance through the existing metrics endpoint. ### Testing No tests were run for this commit. ### Release note Cloud Doris now exports per-instance counters for direct compaction puts and instrumented Recycler removals of recycle rowset KV records. ### Check List (For Author) - Behavior changed: No - Does this need documentation: No - Pre-submission status: Partially verified: Counter values were not verified at runtime. ### AI Disclosure - Tool: Codex - Generated: This description - Human review: Not stated -- 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]
