Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uses nanos precision for timestamp when submitting metrics to influxdb (backport #20623) #20659

Merged
merged 1 commit into from
Oct 13, 2021

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Oct 13, 2021

This is an automatic backport of pull request #20623 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.io/

#20623)

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:
#19789 (comment)

(cherry picked from commit cd87525)
@mergify mergify bot added automerge Merge this Pull Request automatically once CI passes and removed automerge Merge this Pull Request automatically once CI passes labels Oct 13, 2021
@mergify
Copy link
Contributor Author

mergify bot commented Oct 13, 2021

automerge label removed due to a CI failure

@mergify mergify bot added the automerge Merge this Pull Request automatically once CI passes label Oct 13, 2021
@codecov
Copy link

codecov bot commented Oct 13, 2021

Codecov Report

Merging #20659 (e88387a) into v1.8 (ebe77a0) will increase coverage by 0.0%.
The diff coverage is 57.1%.

@@           Coverage Diff           @@
##             v1.8   #20659   +/-   ##
=======================================
  Coverage    81.9%    81.9%           
=======================================
  Files         453      453           
  Lines      128073   128080    +7     
=======================================
+ Hits       104920   104955   +35     
+ Misses      23153    23125   -28     

@mergify mergify bot merged commit aa8d04d into v1.8 Oct 13, 2021
@mergify mergify bot deleted the mergify/bp/v1.8/pr-20623 branch October 13, 2021 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Merge this Pull Request automatically once CI passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant