-
Notifications
You must be signed in to change notification settings - Fork 0
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
More options for the ITN uptime analysis. #8
Conversation
I have just found a bug, which sometimes results in duplicated pks when aggregating over different IPs. This shouldn't happen. Investigating… |
dd95050
to
91c40b0
Compare
f335cf5
to
3ebcc8e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Great job Marcin!
bf33cf1
to
30727d0
Compare
Co-authored-by: Szekely-Schnedarek Marton <[email protected]>
Signed-off-by: Sventimir <[email protected]>
30727d0
to
1518797
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Logic seems okay, although I had a tough time figuring out what is happening. One liner comments at functions would help, especially in the app_config.go
file.
Would you please reflect the changes to the configuration in the README? StdOut
, LocalOutput
and S3Output
?
609d334
to
066a5c7
Compare
Co-authored-by: Szekely-Schnedarek Marton <[email protected]>
Yes, I forgot to update the README. Sorry for that. Will add some comments as well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work!
We have experienced some problems with the ITN uptime analysis recently. It seems that very often uptime submissins have been coming from fluctuating ports. This might be due to cloud infrastructure used to host those nodes, which created some ephemeral ports for these services. The excat reason is not known. The situation prompted a feature request to the analyser to ignore IP addresses of the nodes and only aggregate submissions by public keys. This improves computed uptimes, all of which turn out to be 100% over the ITN lifetime so far.
Additionally some changes were made to facilitate testing:
In the absence of specified time interval, it assumes last full 12-hour period between midnight and noon or between noon and midnight.
Important: Even though any time interval can be specified, data from only the starting day is taken into account.