flashbots / flashbots/mev-boost-relay

Feature request: additional precision for log timestamps

Open
#528 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
498
Forks
147
PR merge metrics
No merged PRs in 30d

Description

It seems current log lines add timestamps with second-level precision. In our logging infra this results in thousands of logs sharing the same timestamp which hurts our ability to look at the order of logs. One can drill down on log specific, precise timestamps as infra allows but this loses ordering between log types still.

Open to a PR flipping on precise timestamps? Was this left at the current precision intentionally perhaps?

From what I read logrus accepts go `time` formats, so setting `TimestampFormat` to `time.RFC3339Nano` could be nice, which would provide nanosecond level timestamps.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.