Skip to content

Commit

Permalink
Make clearer setTimestamp applies to a given MetricsLogger.
Browse files Browse the repository at this point in the history
  • Loading branch information
Grundlefleck committed Nov 25, 2020
1 parent 1158415 commit 62f2559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ setNamespace("MyApplication");

Sets the CloudWatch [timestamp](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#about_timestamp) that extracted metrics are associated with. If not set a default value of `new Date()` will be used.

If set, timestamp will be preserved across calls to flush().
If set for a given `MetricsLogger`, timestamp will be preserved across calls to flush().

Requirements:
* Date or Unix epoch millis, up to two weeks in the past and up to two hours in the future, as enforced by [CloudWatch](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#about_timestamp).
Expand Down

0 comments on commit 62f2559

Please sign in to comment.