Loki: Adds comment explaining usage of RFC3339Nano string (#17872)

* Loki: Adds comment explaining usage of RFC3339Nano string
This commit is contained in:
kay delaney 2019-07-03 13:54:06 +01:00 committed by GitHub
parent b06ad02a74
commit 1c291e26f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -310,7 +310,7 @@ export class LokiDatasource extends DataSourceApi<LokiQuery, LokiOptions> {
return {
...commontTargetOptons,
start: timeEpochNs - contextTimeBuffer,
end: row.timestamp,
end: row.timestamp, // using RFC3339Nano format to avoid precision loss
direction,
};
} else {