forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
uses nanos precision for timestamp when submitting metrics to influxdb
Current datapoint_info! is apparently overwriting itself when run inside a loop. For example in https://github.com/solana-labs/solana/blob/005d6863f/core/src/window_service.rs#L101-L107 only one of the slots will show up in influxdb. This is apparently because of metrics code using milliseconds as the timestamp, as mentioned here: solana-labs#19789 (comment)
- Loading branch information
1 parent
005d686
commit bd7c1b5
Showing
3 changed files
with
37 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters