Commit 1c291e26 by kay delaney Committed by GitHub

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

* Loki: Adds comment explaining usage of RFC3339Nano string
parent b06ad02a
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment