Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

feat(split): add split related perf-counter #789

Merged
merged 1 commit into from
Mar 17, 2021

Conversation

hycdong
Copy link
Contributor

@hycdong hycdong commented Mar 12, 2021

This pull request add bulk load perf-counters, including:

perf_counter_wrapper _counter_replicas_splitting_count;
perf_counter_wrapper _counter_replicas_splitting_max_duration_time_ms;
perf_counter_wrapper _counter_replicas_splitting_max_async_learn_time_ms;
perf_counter_wrapper _counter_replicas_splitting_max_copy_file_size;
perf_counter_wrapper _counter_replicas_splitting_recent_start_count;
perf_counter_wrapper _counter_replicas_splitting_recent_copy_file_count;
perf_counter_wrapper _counter_replicas_splitting_recent_copy_file_size;
perf_counter_wrapper _counter_replicas_splitting_recent_copy_mutation_count;
perf_counter_wrapper _counter_replicas_splitting_recent_split_fail_count;
perf_counter_wrapper _counter_replicas_splitting_recent_split_succ_count;

splitting_count
name: replicaeon.replica_stubreplicas.splitting.count
replica count who are executing partition split

splitting_max_duration_time_ms
name: replicaeon.replica_stubreplicas.splitting.max.duration.time(ms)
partition split max duration time(ms)

splitting_max_async_learn_time_ms
name: replicaeon.replica_stubreplicas.splitting.max.async.learn.time(ms)
partition split max async learn time(ms)

splitting_max_copy_file_size
name: replicaeon.replica_stubreplicas.splitting.max.copy.file.size
partition split max copy file size

splitting_recent_start_count
name: replicaeon.replica_stubreplicas.splitting.recent.start.count
partition split recent start count

splitting_recent_copy_file_count
name: replicaeon.replica_stubreplicas.splitting.recent.copy.file.count
partition split recent copy file count

splitting_recent_copy_file_size
name: replicaeon.replica_stubreplicas.splitting.recent.copy.file.size
partition split recent copy file size

splitting_recent_copy_mutation_count
name: replicaeon.replica_stubreplicas.splitting.recent.copy.mutation.count
partition split recent copy mutation count

splitting_recent_split_succ_count
name: replicaeon.replica_stubreplicas.splitting.succ.count
partition split recent succee count

splitting_recent_split_fail_count
name: replicaeon.replica_stubreplicas.splitting.fail.count
partition split recent failed count

@hycdong hycdong added component/split type/perf-counter PR that made modification on perf-counter, which should be noted in release note. labels Mar 17, 2021
@hycdong hycdong marked this pull request as ready for review March 17, 2021 02:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
component/split type/perf-counter PR that made modification on perf-counter, which should be noted in release note.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants