Skip to content
This repository was archived by the owner on Oct 2, 2023. It is now read-only.

Commit 57347fd

Browse files
docs: increase the required minimum difference between start time of the next interval (#140)
and the end time of the previous one from the one microsecond to one millisecond. This will enable some resource savings for in-memory storage. PiperOrigin-RevId: 306560315 Source-Author: Google APIs <noreply@google.com> Source-Date: Tue Apr 14 19:10:51 2020 -0700 Source-Repo: googleapis/googleapis Source-Sha: 160e3187dc93265ed635ad68e12c483c8ab4f7be Source-Link: googleapis/googleapis@160e318
1 parent e02f297 commit 57347fd

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeInterval.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
* * For `DELTA` and `CUMULATIVE` metrics, the start time must be earlier
3333
* than the end time.
3434
* * In all cases, the start time of the next interval must be
35-
* at least a microsecond after the end time of the previous interval.
35+
* at least a millisecond after the end time of the previous interval.
3636
* Because the interval is closed, if the start time of a new interval
3737
* is the same as the end time of the previous interval, data written
3838
* at the new start time could overwrite data written at the previous
@@ -428,7 +428,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
428428
* * For `DELTA` and `CUMULATIVE` metrics, the start time must be earlier
429429
* than the end time.
430430
* * In all cases, the start time of the next interval must be
431-
* at least a microsecond after the end time of the previous interval.
431+
* at least a millisecond after the end time of the previous interval.
432432
* Because the interval is closed, if the start time of a new interval
433433
* is the same as the end time of the previous interval, data written
434434
* at the new start time could overwrite data written at the previous

proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/common.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ message TypedValue {
6464
// than the end time.
6565
//
6666
// * In all cases, the start time of the next interval must be
67-
// at least a microsecond after the end time of the previous interval.
67+
// at least a millisecond after the end time of the previous interval.
6868
// Because the interval is closed, if the start time of a new interval
6969
// is the same as the end time of the previous interval, data written
7070
// at the new start time could overwrite data written at the previous

synth.metadata

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"git": {
1212
"name": "googleapis",
1313
"remote": "https://github.com/googleapis/googleapis.git",
14-
"sha": "b21bc9b46e3263cd4ebe50f60c61589e3fe797f2",
15-
"internalRef": "305797556"
14+
"sha": "160e3187dc93265ed635ad68e12c483c8ab4f7be",
15+
"internalRef": "306560315"
1616
}
1717
},
1818
{

0 commit comments

Comments
 (0)