Skip to content

Document .NET Containers telemetry for SDK 8.0.400#51758

Open
Copilot wants to merge 2 commits intomainfrom
copilot/add-dotnet-containers-telemetry-docs
Open

Document .NET Containers telemetry for SDK 8.0.400#51758
Copilot wants to merge 2 commits intomainfrom
copilot/add-dotnet-containers-telemetry-docs

Conversation

Copy link
Contributor

Copilot AI commented Feb 17, 2026

SDK 8.0.400 introduced telemetry collection for container build/publish operations. This documents the data points collected for base image inference and container creation.

Changes

Base image inference telemetry (lines 83-91):

  • Inference decision (manual vs. automatic)
  • Target framework, project type (ASP.NET Core/Console), publish mode (AOT/Trimmed/Self-Contained/Framework-Dependent)
  • Base image/tag and container family (Microsoft images only, to avoid leaking customer data)
  • Invariant globalization flag and target RIDs

Container creation and publishing telemetry (lines 92-99):

  • Registry types for pull/push operations (Azure, AWS, Google, GitHub, Docker Hub, MCR, Other)
  • Local sources/destinations (Docker, Podman, Tarball)
  • Error diagnostics: type (unknown repository, credential failure, RID mismatch, local load), direction (push/pull for credential failures), and available RIDs for mismatches

Data collection respects existing DOTNET_CLI_TELEMETRY_OPTOUT controls.

Sources

Original prompt

This section details on the original issue you should resolve

<issue_title>Add documentation for new .NET Containers telemetry in 8.0.400</issue_title>
<issue_description>### Type of issue

Missing information

Description

In dotnet/sdk#41747 we added new telemetry collection for the Containers feature that is collected during build/publish. We need to log this new collection before the 8.0.400 release.

Page URL

https://learn.microsoft.com/en-us/dotnet/core/tools/telemetry

Content source URL

https://github.com/dotnet/docs/blob/main/docs/core/tools/telemetry.md

Document Version Independent Id

50433ae5-4687-fe5f-75ab-a47e1a706777

Article author

@KathleenDollard

Metadata

  • ID: c136055b-bb04-17b6-19b2-42d4610c1a70
  • Service: dotnet-fundamentals

Associated WorkItem - 429415</issue_description>

Comments on the Issue (you are @copilot in this section)

@baronfel I added some in-repo documentation for the containers telemetry to use as a source of data for this documentation: https://github.com/dotnet/sdk-container-builds/pull/586 @gewarren @CamSoper Do you want to take this one since it's related to containers?

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.


Internal previews

📄 File 🔗 Preview link
docs/core/tools/telemetry.md docs/core/tools/telemetry

Co-authored-by: meaghanlewis <10103121+meaghanlewis@users.noreply.github.com>
Copilot AI changed the title [WIP] Add documentation for new .NET Containers telemetry in 8.0.400 Document .NET Containers telemetry for SDK 8.0.400 Feb 17, 2026
Copilot AI requested a review from meaghanlewis February 17, 2026 18:36
@meaghanlewis meaghanlewis marked this pull request as ready for review February 17, 2026 18:59
@meaghanlewis meaghanlewis requested a review from a team as a code owner February 17, 2026 18:59
Copilot AI review requested due to automatic review settings February 17, 2026 18:59
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds documentation for .NET Containers telemetry collection introduced in SDK 8.0.400. The documentation is placed in the telemetry.md file under the .NET 8 tab, following the pattern used for version-specific telemetry data points. The changes document what data is collected during container build/publish operations, including base image inference and container creation/publishing details, with appropriate privacy protections (only Microsoft images logged).

Changes:

  • Added comprehensive telemetry documentation for SDK 8.0.400+ container features under the .NET 8 tab
  • Documented base image inference telemetry (framework, image names, project type, publish mode, etc.)
  • Documented container creation and publishing telemetry (registry types, local sources/destinations, error handling)

- Type of local source used for base images (Docker, Podman, or Tarball).
- Type of remote registry used for pushing images (Azure, AWS, Google, GitHub, Docker Hub, MCR, or Other).
- Type of local destination for images (Docker, Podman, or Tarball).
- Error types when failures occur (unknown repository, credential failure, RID mismatch, local load).
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

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

Missing Oxford comma before "local load". According to the documentation style guide, all lists must use the Oxford comma. Change to "unknown repository, credential failure, RID mismatch, and local load".

Copilot generated this review using guidance from repository custom instructions.
Copy link
Contributor

Choose a reason for hiding this comment

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

@copilot apply changes based on this feedback

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed in commit e4dab8d. Added the Oxford comma before "local load" and improved clarity of error details with "Additional details for..." phrasing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add documentation for new .NET Containers telemetry in 8.0.400

2 participants

Comments