You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2021/10/14 03:57:11 UTC
[skywalking-data-collect-protocol] branch master updated: Using
`isNegativeInfinity` to identity the bucket (#54)
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-data-collect-protocol.git
The following commit(s) were added to refs/heads/master by this push:
new e6742be Using `isNegativeInfinity` to identity the bucket (#54)
e6742be is described below
commit e6742be211302cf7eb93db83bdf1da2a8e600d17
Author: mrproliu <74...@qq.com>
AuthorDate: Thu Oct 14 11:57:07 2021 +0800
Using `isNegativeInfinity` to identity the bucket (#54)
---
language-agent/Meter.proto | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/language-agent/Meter.proto b/language-agent/Meter.proto
index 10f54a7..2f18bf1 100644
--- a/language-agent/Meter.proto
+++ b/language-agent/Meter.proto
@@ -43,9 +43,10 @@ message MeterBucketValue {
// The value represents the min value of the bucket,
// 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.
double bucket = 1;
int64 count = 2;
+ // If is negative infinity, the value of the bucket is invalid
+ bool isNegativeInfinity = 3;
}
// Meter single value