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

Send connectivity test result to specified report collector #112

Merged
merged 5 commits into from
Oct 25, 2023

Conversation

amircybersec
Copy link
Contributor

I made a new branch for this since I messed up the previous branch when doing unnecessary rebase and addressing merge conflicts :(

I moved all the changes to this branch and also implement failure and success sample rate flags to send reports with a given probability. I also added an optional port flag. There should not be any merge conflict with merge since I fetched upstream before making this branch.

I am going to close the other pull request.

@fortuna fortuna self-requested a review October 23, 2023 16:32
@amircybersec
Copy link
Contributor Author

@fortuna I was thinking to drop this PR and refactor the code using the reporter package I wrote here:

#116

Since I am using the same logic in GUI Apps, this would help clean things up.

@amircybersec amircybersec mentioned this pull request Oct 25, 2023
@amircybersec amircybersec requested a review from fortuna October 25, 2023 18:12
Copy link
Contributor

@fortuna fortuna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. A few things below.

x/examples/outline-connectivity/main.go Outdated Show resolved Hide resolved
x/examples/outline-connectivity/main.go Outdated Show resolved Hide resolved
x/examples/outline-connectivity/main.go Outdated Show resolved Hide resolved
@amircybersec amircybersec requested a review from fortuna October 25, 2023 18:38
@fortuna
Copy link
Contributor

fortuna commented Oct 25, 2023

Let's merge this, and iterate on the reporter library.

@fortuna fortuna merged commit 9eb8507 into Jigsaw-Code:main Oct 25, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants