Change the value and bucket data type to double (#27)
Co-authored-by: Mrproliu <mrproliu@lagou.com>
diff --git a/language-agent/Meter.proto b/language-agent/Meter.proto
index 6497cd4..82c2c44 100644
--- a/language-agent/Meter.proto
+++ b/language-agent/Meter.proto
@@ -41,7 +41,7 @@
// 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 @@
// Labels
repeated Label labels = 2;
// Single value
- int64 value = 3;
+ double value = 3;
}
// Histogram