diff options
author | Luck <git@lucko.me> | 2022-01-20 20:22:02 +0000 |
---|---|---|
committer | Luck <git@lucko.me> | 2022-01-20 20:22:02 +0000 |
commit | d2716da1dc7f61aa45c0058e9a8fd65aa858f3c8 (patch) | |
tree | 59ef4c13ccefd43414f913b285c054b773d1d72d /spark-common/src/main/proto/spark/spark.proto | |
parent | 077590bf3af2c3e27d05f138b3023e86e56fe34a (diff) | |
download | spark-d2716da1dc7f61aa45c0058e9a8fd65aa858f3c8.tar.gz spark-d2716da1dc7f61aa45c0058e9a8fd65aa858f3c8.tar.bz2 spark-d2716da1dc7f61aa45c0058e9a8fd65aa858f3c8.zip |
Add ping statistics and command
Diffstat (limited to 'spark-common/src/main/proto/spark/spark.proto')
-rw-r--r-- | spark-common/src/main/proto/spark/spark.proto | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/spark-common/src/main/proto/spark/spark.proto b/spark-common/src/main/proto/spark/spark.proto index ae04cd7..d800762 100644 --- a/spark-common/src/main/proto/spark/spark.proto +++ b/spark-common/src/main/proto/spark/spark.proto @@ -85,6 +85,7 @@ message PlatformStatistics { int64 uptime = 3; Tps tps = 4; // optional Mspt mspt = 5; // optional + Ping ping = 6; // optional message Memory { MemoryPool heap = 1; @@ -108,16 +109,20 @@ message PlatformStatistics { } message Mspt { - Values last1m = 1; - Values last5m = 2; - - message Values { - double mean = 1; - double max = 2; - double min = 3; - double median = 4; - double percentile95 = 5; - } + RollingAverageValues last1m = 1; + RollingAverageValues last5m = 2; + } + + message Ping { + RollingAverageValues last15m = 1; + } + + message RollingAverageValues { + double mean = 1; + double max = 2; + double min = 3; + double median = 4; + double percentile95 = 5; } } |