Skip to content

Commit 51ed35a

Browse files
committed
Enhance telemetry documentation for dotnet run with additional data points and clarifications
1 parent 5ff150f commit 51ed35a

File tree

1 file changed

+17
-14
lines changed

1 file changed

+17
-14
lines changed

docs/core/tools/telemetry.md

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,14 @@ The telemetry feature collects the following data:
107107
| >=8.0.100 | Whether NativeAOT is used. |
108108
| >=8.0.100 | Used Mono runtime pack version. |
109109
| >=10.0.100 | Hashed project identifier for `dotnet run` (file-based or project-based app). |
110-
| >=10.0.100 | Application type for `dotnet run` (file-based or project-based). |
110+
| >=10.0.100 | Application type of either file-based app or project-based for `dotnet run`. |
111+
| >=10.0.100 | Obfuscated unique project identifier for `dotnet run`. |
112+
| >=10.0.100 | The launch profile name if specified for `dotnet run`. |
113+
| >=10.0.100 | Whether a launch profile was specified for `dotnet run`.|
114+
| >=10.0.100 | The applied launch settings model if any for `dotnet run`. |
111115
| >=10.0.100 | Number of SDKs used for `dotnet run`. |
112116
| >=10.0.100 | Number of PackageReferences for `dotnet run`. |
113117
| >=10.0.100 | Number of ProjectReferences for `dotnet run`. |
114-
| >=10.0.100 | Launch profile usage for `dotnet run` (none, explicit, default, or not used). |
115-
| >=10.0.100 | Whether launch profile is default for `dotnet run`. |
116118
| >=10.0.100 | Number of additional properties for file-based apps with `dotnet run`. |
117119
| >=10.0.100 | Whether MSBuild was used for file-based apps with `dotnet run`. |
118120
| >=10.0.100 | Whether Roslyn compiler was used for file-based apps with `dotnet run`. |
@@ -163,19 +165,20 @@ The `dotnet run` command collects feature-based telemetry to help drive developm
163165

164166
**Common telemetry for all `dotnet run` executions:**
165167

166-
* Application type (file-based or project-based)
167-
* Hashed project or file identifier
168-
* Number of SDKs used
169-
* Number of PackageReferences
170-
* Number of ProjectReferences
171-
* Launch profile usage (whether `--launch-profile` or `--no-launch-profile` was used)
172-
* Whether the launch profile is a default profile
168+
- Application type (file-based or project-based)
169+
- Hashed project or file identifier
170+
- Number of SDKs used
171+
- Number of PackageReferences
172+
- Number of ProjectReferences
173+
- Launch profile usage (whether `--launch-profile` or `--no-launch-profile` was used)
174+
- Whether the launch profile is a default profile
175+
- Launch settings model applied if any
173176

174-
**Additional telemetry for file-based apps only:**
177+
**Telemetry for file-based apps only:**
175178

176-
* Number of additional properties (for example, `#:property` directives)
177-
* Whether MSBuild was used for building
178-
* Whether the Roslyn compiler was used directly
179+
- Number of additional properties (for example, `#:property` directives)
180+
- Whether MSBuild was used for building
181+
- Whether the Roslyn compiler was used directly
179182

180183
All identifiers are hashed using SHA256. For file-based apps, the entry point file path is hashed. For project-based apps, the project file path (or relative path from repository root when available) is hashed.
181184

0 commit comments

Comments
 (0)