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

Allow per provider interval specification #3591

Merged
merged 8 commits into from
Feb 11, 2023

Conversation

wiktork
Copy link
Member

@wiktork wiktork commented Feb 7, 2023

Summary

Requires dotnet/diagnostics#3639

Release Notes Entry

@wiktork wiktork requested a review from a team as a code owner February 7, 2023 20:57
…tingsFactory.cs

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@wiktork wiktork added the update-release-notes Pull requests that should be mentioned in the release notes label Feb 7, 2023
wiktork and others added 2 commits February 7, 2023 14:56
…icsSettingsTests.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>
schmittjoseph
schmittjoseph previously approved these changes Feb 10, 2023
@wiktork wiktork dismissed stale reviews from jander-msft and schmittjoseph via d366226 February 10, 2023 21:38
@wiktork wiktork enabled auto-merge (squash) February 11, 2023 00:30
jander-msft
jander-msft previously approved these changes Feb 11, 2023
…tingsFactory.cs

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@wiktork wiktork merged commit 92217cd into dotnet:main Feb 11, 2023
@wiktork
Copy link
Member Author

wiktork commented Mar 30, 2023

/backport to release/7.x

@github-actions
Copy link
Contributor

Started backporting to release/7.x: https://github.com/dotnet/dotnet-monitor/actions/runs/4566584470

@github-actions
Copy link
Contributor

@wiktork backporting to release/7.x failed, the patch most likely resulted in conflicts.

Please backport manually using one of the below commands, followed by git am --continue once the merge conflict has been resolved.

PowerShell

(Invoke-WebRequest "https://github.com/dotnet/dotnet-monitor/commit/92217cd12cbaf926c40eb7f9fcf2ab6228279142.patch").Content | git am --3way --ignore-whitespace --exclude="documentation/**.md" --keep-non-patch

Bash

curl -sSL "https://github.com/dotnet/dotnet-monitor/commit/92217cd12cbaf926c40eb7f9fcf2ab6228279142.patch" | git am --3way --ignore-whitespace --exclude="documentation/**.md" --keep-non-patch

git am error output:

$ git am --3way --ignore-whitespace --exclude="documentation/**.md" --keep-non-patch changes.patch

Applying: Allow per provider interval specification (#3591)
.git/rebase-apply/patch:207: trailing whitespace.
        
.git/rebase-apply/patch:223: trailing whitespace.
        
warning: 2 lines add whitespace errors.
Using index info to reconstruct a base tree...
M	documentation/schema.json
M	src/Microsoft.Diagnostics.Monitoring.Options/OptionsDisplayStrings.Designer.cs
M	src/Microsoft.Diagnostics.Monitoring.Options/OptionsDisplayStrings.resx
M	src/Microsoft.Diagnostics.Monitoring.WebApi/Controllers/DiagController.cs
M	src/Microsoft.Diagnostics.Monitoring.WebApi/Metrics/MetricsSettingsFactory.cs
M	src/Tests/Microsoft.Diagnostics.Monitoring.Tool.FunctionalTests/Options/OptionsExtensions.cs
M	src/Tests/Microsoft.Diagnostics.Monitoring.Tool.UnitTests/CollectionRuleOptionsTests.cs
M	src/Tools/dotnet-monitor/CollectionRules/Actions/CollectTraceAction.cs
M	src/Tools/dotnet-monitor/ServiceCollectionExtensions.cs
Falling back to patching base and 3-way merge...
Auto-merging src/Tools/dotnet-monitor/ServiceCollectionExtensions.cs
Auto-merging src/Tools/dotnet-monitor/CollectionRules/Actions/CollectTraceAction.cs
Auto-merging src/Tests/Microsoft.Diagnostics.Monitoring.Tool.UnitTests/CollectionRuleOptionsTests.cs
Auto-merging src/Tests/Microsoft.Diagnostics.Monitoring.Tool.FunctionalTests/Options/OptionsExtensions.cs
CONFLICT (content): Merge conflict in src/Tests/Microsoft.Diagnostics.Monitoring.Tool.FunctionalTests/Options/OptionsExtensions.cs
Auto-merging src/Microsoft.Diagnostics.Monitoring.WebApi/Metrics/MetricsSettingsFactory.cs
Auto-merging src/Microsoft.Diagnostics.Monitoring.WebApi/Controllers/DiagController.cs
Auto-merging src/Microsoft.Diagnostics.Monitoring.Options/OptionsDisplayStrings.resx
CONFLICT (content): Merge conflict in src/Microsoft.Diagnostics.Monitoring.Options/OptionsDisplayStrings.resx
Auto-merging src/Microsoft.Diagnostics.Monitoring.Options/OptionsDisplayStrings.Designer.cs
Auto-merging documentation/schema.json
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 Allow per provider interval specification (#3591)
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Error: The process '/usr/bin/git' failed with exit code 128

wiktork added a commit to wiktork/dotnet-monitor that referenced this pull request Apr 4, 2023
* Allow per provider interval specification

* Update src/Microsoft.Diagnostics.Monitoring.WebApi/Metrics/MetricsSettingsFactory.cs

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/Tests/Microsoft.Diagnostics.Monitoring.Tool.UnitTests/MetricsSettingsTests.cs

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Pr feedback

* pr feedback

* pr feedback

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
wiktork added a commit that referenced this pull request Apr 4, 2023
#4144)

* Allow per provider interval specification (#3591)

* Allow per provider interval specification

* Update src/Microsoft.Diagnostics.Monitoring.WebApi/Metrics/MetricsSettingsFactory.cs

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/Tests/Microsoft.Diagnostics.Monitoring.Tool.UnitTests/MetricsSettingsTests.cs

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Pr feedback

* pr feedback

* pr feedback

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Fixup merge

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
update-release-notes Pull requests that should be mentioned in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants