From e481dafecf77f3606508f781be828a67d9e60602 Mon Sep 17 00:00:00 2001 From: Anuraag Agrawal Date: Tue, 18 Aug 2020 13:13:19 +0900 Subject: [PATCH 1/2] Clarify that optional timestamp means current time should be used. --- specification/trace/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/trace/api.md b/specification/trace/api.md index 7736aa5f8b5..2fc72253c72 100644 --- a/specification/trace/api.md +++ b/specification/trace/api.md @@ -428,7 +428,7 @@ An `Event` is defined by the following properties: - (Required) Name of the event. - (Optional) [`Attributes`](../common/common.md#attributes). -- (Optional) Timestamp for the event. +- (Optional) Timestamp for the event. If not provided, current time when the event is added MUST be used. The `Event` SHOULD be an immutable type. From d9ce75713239dc1cf58cb6f50a6f91566821faa2 Mon Sep 17 00:00:00 2001 From: Bogdan Drutu Date: Tue, 18 Aug 2020 13:31:32 -0700 Subject: [PATCH 2/2] Update specification/trace/api.md Co-authored-by: John Watson --- specification/trace/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/trace/api.md b/specification/trace/api.md index 2fc72253c72..de0100a0d4d 100644 --- a/specification/trace/api.md +++ b/specification/trace/api.md @@ -428,7 +428,7 @@ An `Event` is defined by the following properties: - (Required) Name of the event. - (Optional) [`Attributes`](../common/common.md#attributes). -- (Optional) Timestamp for the event. If not provided, current time when the event is added MUST be used. +- (Optional) Timestamp for the event. If not provided, the current time when the event is added MUST be used. The `Event` SHOULD be an immutable type.