Metrics/TimeSeries: start time should not be included while end time should. (#142)

pull/144/head
Yang Song 6 years ago committed by GitHub
parent bbcfad0758
commit 99162e4df5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      src/opencensus/proto/metrics/v1/metrics.proto

@ -126,8 +126,8 @@ message LabelKey {
// of a metric.
message TimeSeries {
// Must be present for cumulative metrics. The time when the cumulative value
// was reset to zero. The cumulative value is over the time interval
// [start_timestamp, timestamp). If not specified, the backend can use the
// was reset to zero. Exclusive. The cumulative value is over the time interval
// (start_timestamp, timestamp]. If not specified, the backend can use the
// previous recorded value.
google.protobuf.Timestamp start_timestamp = 1;
@ -151,8 +151,8 @@ message LabelValue {
// A timestamped measurement.
message Point {
// The moment when this point was recorded. If not specified, the timestamp
// will be decided by the backend.
// The moment when this point was recorded. Inclusive.
// If not specified, the timestamp will be decided by the backend.
google.protobuf.Timestamp timestamp = 1;
// The actual point value.

Loading…
Cancel
Save