-
Notifications
You must be signed in to change notification settings - Fork 113
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
Add support of egress provider to deliver data to a S3 storage #2016
Add support of egress provider to deliver data to a S3 storage #2016
Conversation
please make sure to sign CLA by .net foundation |
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.
I also didn't see any Unit test, I also didn't find any for AzureBlob storage... we need to check with project owner about that.... thanks for working on it...
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.
Adding some initial feedback
src/Microsoft.Diagnostics.Monitoring.Options/S3StorageEgressProviderOptions.cs
Outdated
Show resolved
Hide resolved
@Egyptmaster could you please sign the CLA first ? and do you have an ETA when you are going to incorporate the changes ? thank you ! |
|
The 'no-recent-activity' label has been added to this pull request due to four weeks without any activity. If there is no activity in the next six weeks, this pull request will automatically be closed. You can learn more about our stale PR policy here: https://github.com/dotnet/dotnet-monitor/blob/main/CONTRIBUTING.md#stale-pr-policy |
@Egyptmaster any updates ? if you don't have time, let me know , I can incorporate the changes needed for S3 egress cloning your PR and publish a new PR.. |
Sorry, wasn't my intention to close the pull-request. I finally received the go from my employer and signed the CLA. I will try to take care about the comments to finally get the PR done. |
Hope that I catch all your comments. Thanks a lot. |
no problem... thanks for working on it.. I have reviewed and posted some comments.. |
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.
thanks for working on it.. almost there.. some minor comments to incorporate
src/Microsoft.Diagnostics.Monitoring.Options/OptionsDisplayStrings.resx
Outdated
Show resolved
Hide resolved
src/Microsoft.Diagnostics.Monitoring.Options/S3StorageEgressProviderOptions.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Diagnostics.Monitoring.Options/S3StorageEgressProviderOptions.cs
Outdated
Show resolved
Hide resolved
1d94d00
to
b5e52c8
Compare
…esentation of the uploaded file meta-information + some tiny adaptations.
… according to provided gist
b5e52c8
to
922fde3
Compare
src/Microsoft.Diagnostics.Monitoring.Options/S3StorageEgressProviderOptions.cs
Outdated
Show resolved
Hide resolved
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.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
src/Microsoft.Diagnostics.Monitoring.Options/S3StorageEgressProviderOptions.Validate.cs
Outdated
Show resolved
Hide resolved
src/Tests/Microsoft.Diagnostics.Monitoring.Tool.UnitTests/Egress/S3/InMemoryS3.cs
Show resolved
Hide resolved
src/Tests/Microsoft.Diagnostics.Monitoring.Tool.UnitTests/Egress/S3/InMemoryS3.cs
Outdated
Show resolved
Hide resolved
src/Tests/Microsoft.Diagnostics.Monitoring.Tool.UnitTests/Egress/S3/InMemoryS3.cs
Show resolved
Hide resolved
src/Tests/Microsoft.Diagnostics.Monitoring.Tool.UnitTests/Egress/S3/InMemoryS3.cs
Outdated
Show resolved
Hide resolved
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.
I'm approving since I don't have any more comments or required changes at this time. However, there are build failures across all build legs. Please pull in the latest from main
, update the schema.json baseline, fix all of the format violations that were added as comments, and correct any code analysis errors that should be appearing as part of the build.
By the way, we are working on making egress providers to be extensions rather than built into dotnet-monitor. See #2500. You'll likely see the code refactored and possibly even moved to another repository (along with the Azure Blog egress provider). This should not impact your PR so long as you fix up all remaining issues and get it approved and merged soon. |
…oviderOptions.Validate.cs Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…ss/S3/InMemoryS3.cs Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…ss/S3/InMemoryS3.cs Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…ss/S3/InMemoryS3.cs Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…ss/S3/InMemoryS3.cs Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Well, is that really necessary to handle each compiler waring as an error here. That was changed in the meanwhile, right? I cannot remember to see these errors before. That start to becomre frustrating but I try to adapt the code... |
Logging warnings as errors has been in this repository from the start, long before this PR was opened. However, what was changed was updating the code analysis toolset and applicable analyzers in #2771 on October 25th. This change flagged many violations compared to the previous toolset which needed to be addressed and any pending PRs need to adapt to them. |
...ests/Microsoft.Diagnostics.Monitoring.Tool.UnitTests/Egress/S3/MultiPartUploadStreamTests.cs
Outdated
Show resolved
Hide resolved
…ss/S3/MultiPartUploadStreamTests.cs Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
So now I only have a flacky test failing because of unknown reason.
Any clue? |
I see that the pull-request is approved! Thanks a lot. What comes next, who is merging it to the main? |
No description provided.