未验证 提交 24788cf4 编写于 作者: 静夜思朝颜's avatar 静夜思朝颜 提交者: GitHub

Change the value and bucket data type to double (#27)

Co-authored-by: NMrproliu <mrproliu@lagou.com>
上级 025c2dcf
......@@ -41,7 +41,7 @@ message MeterBucketValue {
// the upper boundary is determined by next MeterBucketValue$bucket,
// if it doesn't exist, the upper boundary is positive infinity.
// Also, could use Int32.MIN_VALUE to represent negative infinity.
int32 bucket = 1;
double bucket = 1;
int64 count = 2;
}
......@@ -52,7 +52,7 @@ message MeterSingleValue {
// Labels
repeated Label labels = 2;
// Single value
int64 value = 3;
double value = 3;
}
// Histogram
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册