Skip to content

[feature/10.0] Sync branch with origin/main #8474

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

Closed
wants to merge 113 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
fa6fc8c
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] May 12, 2025
0cd27b5
Update releases information. (#8227)
github-actions[bot] May 12, 2025
f8f8b76
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] May 13, 2025
cc71cec
Map Uri config value as string (#8234)
sbomer May 13, 2025
ccf42a8
Add 8.1.1 release notes (#8237)
github-actions[bot] May 13, 2025
ae76e4e
Add 9.0.3 release notes (#8238)
github-actions[bot] May 13, 2025
f0b8a8a
generate release notes (#8240)
github-actions[bot] May 13, 2025
11378f9
Register new release information (#8241)
github-actions[bot] May 13, 2025
66fa8c5
Register v8.1.1 release information (#8242)
github-actions[bot] May 14, 2025
bdd1e9b
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] May 14, 2025
aa4eecb
Remove nuget.config links (#8235)
jander-msft May 14, 2025
0a8abd7
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] May 15, 2025
833a9bb
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] May 16, 2025
cbfa4bd
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] May 16, 2025
db1326e
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] May 17, 2025
264bc89
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] May 18, 2025
99860ca
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] May 19, 2025
ddd40d9
Bump dependabot/fetch-metadata from 2.3.0 to 2.4.0 (#8229)
dependabot[bot] May 19, 2025
0157ba5
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] May 20, 2025
4f18478
Update dependencies from https://github.com/dotnet/arcade build 20250…
dotnet-maestro[bot] May 22, 2025
836336b
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] May 22, 2025
b56f190
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] May 23, 2025
07ba631
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] May 24, 2025
188ba0d
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] May 24, 2025
a056517
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] May 25, 2025
9719563
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] May 27, 2025
9983137
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] May 28, 2025
c9b0035
Remove obsolete reference (#8292)
wiktork May 28, 2025
7835239
Bump streetsidesoftware/cspell-action from 7.0.0 to 7.0.1 (#8299)
dependabot[bot] May 28, 2025
b879d31
Fixup test case (#8302)
wiktork May 29, 2025
8ca5f0f
Update: (#8261)
dependabot[bot] May 30, 2025
aadd5d3
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] May 30, 2025
ea054dc
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] May 30, 2025
bf24c22
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] May 30, 2025
9ba2e55
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] May 31, 2025
15fe5ff
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] Jun 1, 2025
81be8ee
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] Jun 3, 2025
ace3c43
Update dependencies from https://github.com/dotnet/arcade build 20250…
dotnet-maestro[bot] Jun 3, 2025
a1840a8
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] Jun 4, 2025
98db591
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Jun 4, 2025
a7fe625
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] Jun 6, 2025
3d79251
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Jun 7, 2025
44a373e
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] Jun 9, 2025
336dad9
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] Jun 10, 2025
5d4c1ec
[main] Update dependencies from dotnet/diagnostics (#8343)
dotnet-maestro[bot] Jun 16, 2025
5939737
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] Jun 17, 2025
4dd8768
Update AWS packages (#8334)
wiktork Jun 18, 2025
245c7ec
Switch Linux x64 Helix host machines to Azure Linux 3 (#8213)
jander-msft Jun 18, 2025
e10a991
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] Jun 19, 2025
bedd9ac
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Jun 20, 2025
1a9962c
[main] Bump the azure-sdk-dependencies group with 2 updates (#8359)
dependabot[bot] Jun 20, 2025
62e3682
[main] Bump the runtime-dependencies group with 4 updates (#8358)
dependabot[bot] Jun 20, 2025
3e23a5e
[main] Bump the identity-dependencies group with 1 update (#8363)
dependabot[bot] Jun 20, 2025
1b21f43
[main] Bump the runtime-dependencies group with 1 update (#8354)
dependabot[bot] Jun 20, 2025
5165d16
Bump dawidd6/action-download-artifact from 9 to 11 (#8347)
dependabot[bot] Jun 20, 2025
502cd4a
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] Jun 20, 2025
4c0ed9c
Update Learning Paths (#8316)
github-actions[bot] Jun 20, 2025
bcdbcef
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Jun 21, 2025
ec746fb
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] Jun 21, 2025
e98c4b3
Update dependencies from https://github.com/dotnet/arcade build 20250…
dotnet-maestro[bot] Jun 24, 2025
70993bf
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] Jun 25, 2025
4ea0455
Update dependencies from https://github.com/dotnet/arcade build 20250…
dotnet-maestro[bot] Jun 26, 2025
350d827
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] Jun 28, 2025
082a6ff
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] Jun 29, 2025
0c3a911
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] Jun 30, 2025
4dbd7ae
[main] Update dependencies from dotnet/diagnostics (#8387)
dotnet-maestro[bot] Jul 7, 2025
819a4cc
[main] Update dependencies from dotnet/command-line-api (#8388)
dotnet-maestro[bot] Jul 7, 2025
46dbb4a
Bump streetsidesoftware/cspell-action from 7.0.1 to 7.1.0 (#8389)
dependabot[bot] Jul 7, 2025
3893d24
[main] Bump the azure-sdk-dependencies group with 1 update (#8379)
dependabot[bot] Jul 8, 2025
2294beb
[main] Bump the azure-sdk-dependencies group with 1 update (#8402)
dependabot[bot] Jul 14, 2025
c285817
[main] Bump the runtime-dependencies group with 4 updates (#8399)
dependabot[bot] Jul 14, 2025
0b30582
[main] Bump the runtime-dependencies group with 2 updates (#8398)
dependabot[bot] Jul 14, 2025
55d62ef
[main] Update dependencies from dotnet/diagnostics (#8394)
dotnet-maestro[bot] Jul 14, 2025
5cf9f76
Bump streetsidesoftware/cspell-action from 7.1.0 to 7.1.1 (#8393)
dependabot[bot] Jul 14, 2025
c725bec
[main] Bump the identity-dependencies group with 1 update (#8390)
dependabot[bot] Jul 14, 2025
9383caa
Update Learning Paths (#8386)
github-actions[bot] Jul 14, 2025
0312289
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] Jul 15, 2025
cd0c562
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] Jul 16, 2025
e458a30
Update dependencies from https://github.com/dotnet/arcade build 20250…
dotnet-maestro[bot] Jul 18, 2025
195b785
Bump streetsidesoftware/cspell-action from 7.1.1 to 7.1.2 (#8424)
dependabot[bot] Jul 21, 2025
989a8f5
[main] Update dependencies from dotnet/diagnostics (#8416)
dotnet-maestro[bot] Jul 21, 2025
ccc3043
[main] Bump the azure-sdk-dependencies group with 3 updates (#8410)
dependabot[bot] Jul 21, 2025
f92f8d5
Bump actions/first-interaction from 1.3.0 to 2.0.0 (#8415)
dependabot[bot] Jul 21, 2025
ae0029e
[main] Update dependencies from dotnet/command-line-api (#8395)
dotnet-maestro[bot] Jul 21, 2025
05d3dca
[main] Bump the identity-dependencies group with 1 update (#8429)
dependabot[bot] Jul 22, 2025
2f47e59
[main] Bump the azure-sdk-dependencies group with 1 update (#8427)
dependabot[bot] Jul 22, 2025
1101085
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] Jul 22, 2025
5d11181
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] Jul 23, 2025
b734e3a
Publish dotnet monitor sha512 files to `dotnetcli` instead of `dotnet…
Copilot Jul 25, 2025
b1570ad
[main] Update dependencies from dotnet/diagnostics (#8441)
dotnet-maestro[bot] Jul 27, 2025
f3d573b
[main] Update dependencies from dotnet/command-line-api (#8442)
dotnet-maestro[bot] Jul 27, 2025
2666784
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] Jul 28, 2025
01bd9cb
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] Jul 29, 2025
9ed4b74
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Jul 29, 2025
2b65daf
Update dependencies from https://github.com/dotnet/diagnostics build …
dotnet-maestro[bot] Jul 30, 2025
e973263
Update dependencies from https://github.com/dotnet/arcade build 20250…
dotnet-maestro[bot] Jul 31, 2025
51a6fa3
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Aug 1, 2025
1fe8c18
generate release notes (#8476)
github-actions[bot] Aug 4, 2025
671651d
generate release notes (#8475)
github-actions[bot] Aug 4, 2025
6410106
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Aug 5, 2025
9b3a65e
Register new release information (#8483)
github-actions[bot] Aug 6, 2025
0c962f9
Update release pipeline (#8485)
wiktork Aug 6, 2025
7cb4e13
[main] Bump the runtime-dependencies group with 5 updates (#8481)
dependabot[bot] Aug 6, 2025
ff30aab
[main] Bump the identity-dependencies group with 1 update (#8466)
dependabot[bot] Aug 6, 2025
5fd7c52
Update dependencies from https://github.com/dotnet/arcade build 20250…
dotnet-maestro[bot] Aug 7, 2025
c57705b
Update dependencies from https://github.com/dotnet/arcade build 20250…
dotnet-maestro[bot] Aug 8, 2025
912e641
[main] Update dependencies from dotnet/command-line-api (#8484)
dotnet-maestro[bot] Aug 11, 2025
a27238f
[main] Bump the runtime-dependencies group with 1 update (#8478)
dependabot[bot] Aug 11, 2025
4e65ae2
Bump streetsidesoftware/cspell-action from 7.1.2 to 7.2.0 (#8459)
dependabot[bot] Aug 11, 2025
71cd02e
Update Learning Paths (#8467)
github-actions[bot] Aug 11, 2025
fc938da
[main] Update dependencies from dotnet/diagnostics (#8468)
dotnet-maestro[bot] Aug 12, 2025
2b6b4da
Merge remote-tracking branch 'origin/main' into feature/10.0
github-actions[bot] Aug 18, 2025
87f78b4
Restore branch-specific files
github-actions[bot] Aug 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/learning-path-sha.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0c3a91196f7e0abe8b9fa5cd8907378c4598b10a
e973263b09f539d9e3751799a1c4416d0b9b2749
8 changes: 4 additions & 4 deletions .github/releases.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,17 @@
"outOfSupportDate": "2025-05-11T00:00:00.000Z"
},
"9.0": {
"tag": "v9.0.3",
"tag": "v9.0.4",
"minorReleaseDate": "2024-11-12T00:00:00.000Z",
"patchReleaseDate": "2025-05-13T00:00:00.000Z",
"patchReleaseDate": "2025-08-06T00:00:00.000Z",
"supportedFrameworks": [
"net9.0"
]
},
"8.1": {
"tag": "v8.1.1",
"tag": "v8.1.2",
"minorReleaseDate": "2025-02-11T00:00:00.000Z",
"patchReleaseDate": "2025-05-14T00:00:00.000Z",
"patchReleaseDate": "2025-08-06T00:00:00.000Z",
"supportedFrameworks": [
"net8.0"
]
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,23 @@ jobs:
with:
persist-credentials: false

- uses: streetsidesoftware/cspell-action@6f05386161564ebe24dcfa1513cde203230d1edc
- uses: streetsidesoftware/cspell-action@dcd03dc3e8a59ec2e360d0c62db517baa0b4bb6d
name: Documentation spellcheck
if: ${{ !cancelled() }}
with:
files: '**/*.md'
inline: error
incremental_files_only: true

- uses: streetsidesoftware/cspell-action@6f05386161564ebe24dcfa1513cde203230d1edc
- uses: streetsidesoftware/cspell-action@dcd03dc3e8a59ec2e360d0c62db517baa0b4bb6d
name: Resx spellcheck
if: ${{ !cancelled() }}
with:
files: 'src/**/*.resx'
inline: error
incremental_files_only: true

- uses: streetsidesoftware/cspell-action@6f05386161564ebe24dcfa1513cde203230d1edc
- uses: streetsidesoftware/cspell-action@dcd03dc3e8a59ec2e360d0c62db517baa0b4bb6d
name: Source code spellcheck
if: ${{ !cancelled() }}
with:
Expand Down
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"omnisharp.enableAsyncCompletion": true,
"omnisharp.enableEditorConfigSupport": true,
"omnisharp.enableRoslynAnalyzers": true,
"omnisharp.organizeImportsOnFormat": true,
"omnisharp.autoStart": true,

// ms-vscode.powershell settings
Expand All @@ -47,5 +46,6 @@
"xml",
"msbuild",
"javascript"
]
],
"dotnet.formatting.organizeImportsOnFormat": true
}
2 changes: 1 addition & 1 deletion documentation/learningPath/aks.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ In addition to its availability as a .NET CLI tool, the `dotnet monitor` tool is

This workflow takes your local development copy of `dotnet-monitor`, patches it with a local development copy of the [.NET Core Diagnostics Repo](https://github.com/dotnet/diagnostics#net-core-diagnostics-repo), and makes it available as an image for you to consume in an ACR (Azure Container Registry). Note that there are many other ways to do this - this is meant to serve as a basic template that can be adapted to match your needs.

1. Open `pwsh` and run the [generate-dev-sln script](https://github.com/dotnet/dotnet-monitor/blob/0c3a91196f7e0abe8b9fa5cd8907378c4598b10a/generate-dev-sln.ps1), providing a path to your local copy of the diagnostics repo.
1. Open `pwsh` and run the [generate-dev-sln script](https://github.com/dotnet/dotnet-monitor/blob/e973263b09f539d9e3751799a1c4416d0b9b2749/generate-dev-sln.ps1), providing a path to your local copy of the diagnostics repo.

> [!NOTE]
> If your changes do not involve the [.NET Core Diagnostics Repo](https://github.com/dotnet/diagnostics#net-core-diagnostics-repo), you don't need to complete this step.
Expand Down
10 changes: 5 additions & 5 deletions documentation/learningPath/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ dotnet-monitor exposes functionality through both [collection rules](./collectio

## Adding New APIs

The web API surface is defined by a series of controllers [here](https://github.com/dotnet/dotnet-monitor/blob/0c3a91196f7e0abe8b9fa5cd8907378c4598b10a/src/Microsoft.Diagnostics.Monitoring.WebApi/Controllers/). It's common for an API to expose functionality also available via [Actions](./collectionrules.md#actions) and so methods in these controllers are often wrappers around a shared implementation. Each controller may have one or more attributes that configure how and where it is exposed, you can learn more about the notable controller attributes [here](#notable-controller-attributes).
The web API surface is defined by a series of controllers [here](https://github.com/dotnet/dotnet-monitor/blob/e973263b09f539d9e3751799a1c4416d0b9b2749/src/Microsoft.Diagnostics.Monitoring.WebApi/Controllers/). It's common for an API to expose functionality also available via [Actions](./collectionrules.md#actions) and so methods in these controllers are often wrappers around a shared implementation. Each controller may have one or more attributes that configure how and where it is exposed, you can learn more about the notable controller attributes [here](#notable-controller-attributes).

If the new API needs to either accept or return structured data, a dedicated model should be used. Models are defined [here](https://github.com/dotnet/dotnet-monitor/blob/0c3a91196f7e0abe8b9fa5cd8907378c4598b10a/src/Microsoft.Diagnostics.Monitoring.WebApi/Models/).
If the new API needs to either accept or return structured data, a dedicated model should be used. Models are defined [here](https://github.com/dotnet/dotnet-monitor/blob/e973263b09f539d9e3751799a1c4416d0b9b2749/src/Microsoft.Diagnostics.Monitoring.WebApi/Models/).

When adding a new API, it's important to also update the [`openapi.json`](../openapi.json) spec which describes the API surface. There are CI tests that will ensure this file has been updated to reflect any API changes. Learn more about updating `openapi.json` [here](./testing.md#openapi-generation).

### Adding Tests

Web APIs in dotnet-monitor are typically tested using functional tests that leverage the [ApiClient](https://github.com/dotnet/dotnet-monitor/blob/0c3a91196f7e0abe8b9fa5cd8907378c4598b10a/src/Tests/Microsoft.Diagnostics.Monitoring.Tool.FunctionalTests/HttpApi/ApiClient.cs) to call a specific API. Learn more about how the functional tests are defined and operate [here](./testing.md#functional-tests).
Web APIs in dotnet-monitor are typically tested using functional tests that leverage the [ApiClient](https://github.com/dotnet/dotnet-monitor/blob/e973263b09f539d9e3751799a1c4416d0b9b2749/src/Tests/Microsoft.Diagnostics.Monitoring.Tool.FunctionalTests/HttpApi/ApiClient.cs) to call a specific API. Learn more about how the functional tests are defined and operate [here](./testing.md#functional-tests).

## Notable Controller Attributes

Expand All @@ -32,6 +32,6 @@ dotnet-monitor supports multiple different [authentication modes](../authenticat

### Determining Authentication Mode

When dotnet-monitor starts, the command line arguments are first inspected to see if a specific authentication mode was set (such as `--no-auth`), referred to as the `StartupAuthenticationMode`, this is calculated [here](https://github.com/dotnet/dotnet-monitor/blob/0c3a91196f7e0abe8b9fa5cd8907378c4598b10a/src/Tools/dotnet-monitor/Commands/CollectCommandHandler.cs#L28). If no modes were explicitly set via a command line argument, dotnet-monitor will select `Deferred` as the `StartupAuthenticationMode`. This indicates that the user configuration should be looked at to determine the authentication mode later on in the startup process.
When dotnet-monitor starts, the command line arguments are first inspected to see if a specific authentication mode was set (such as `--no-auth`), referred to as the `StartupAuthenticationMode`, this is calculated [here](https://github.com/dotnet/dotnet-monitor/blob/e973263b09f539d9e3751799a1c4416d0b9b2749/src/Tools/dotnet-monitor/Commands/CollectCommandHandler.cs#L28). If no modes were explicitly set via a command line argument, dotnet-monitor will select `Deferred` as the `StartupAuthenticationMode`. This indicates that the user configuration should be looked at to determine the authentication mode later on in the startup process.

After determining the `StartupAuthenticationMode` mode, the relevant [IAuthenticationConfigurator](https://github.com/dotnet/dotnet-monitor/blob/0c3a91196f7e0abe8b9fa5cd8907378c4598b10a/src/Tools/dotnet-monitor/Auth/IAuthenticationConfigurator.cs) is created by the [AuthConfiguratorFactory](https://github.com/dotnet/dotnet-monitor/blob/0c3a91196f7e0abe8b9fa5cd8907378c4598b10a/src/Tools/dotnet-monitor/Auth/AuthConfiguratorFactory.cs). This factory also handles deciding what authentication mode to use when `StartupAuthenticationMode` is `Deferred`. The selected configurator is used to configure various parts of dotnet-monitor that are specific to authentication, such as protecting the web APIs and adding authentication-mode specific logging.
After determining the `StartupAuthenticationMode` mode, the relevant [IAuthenticationConfigurator](https://github.com/dotnet/dotnet-monitor/blob/e973263b09f539d9e3751799a1c4416d0b9b2749/src/Tools/dotnet-monitor/Auth/IAuthenticationConfigurator.cs) is created by the [AuthConfiguratorFactory](https://github.com/dotnet/dotnet-monitor/blob/e973263b09f539d9e3751799a1c4416d0b9b2749/src/Tools/dotnet-monitor/Auth/AuthConfiguratorFactory.cs). This factory also handles deciding what authentication mode to use when `StartupAuthenticationMode` is `Deferred`. The selected configurator is used to configure various parts of dotnet-monitor that are specific to authentication, such as protecting the web APIs and adding authentication-mode specific logging.
Loading
Loading