Added a healthcheck to the OpenTelemetry Collector container#858
Merged
aaronpowell merged 5 commits intoCommunityToolkit:mainfrom Sep 25, 2025
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds an internal health check capability to the OpenTelemetry Collector container, providing better monitoring and status visibility within the Aspire dashboard. The implementation uses a dedicated non-default port and configurable extension to avoid conflicts with user-specified components.
- Adds a new
DisableHealthchecksetting to allow users to opt out of the health check functionality - Implements health check endpoint configuration on port 13233 with the
/healthpath - Enables the "merge and append" feature flag for OpenTelemetry Collector configuration
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| OpenTelemetryCollectorSettings.cs | Adds DisableHealthcheck property to control health check behavior |
| OpenTelemetryCollectorExtensions.cs | Implements health check endpoint configuration and feature flag enablement |
src/CommunityToolkit.Aspire.Hosting.OpenTelemetryCollector/OpenTelemetryCollectorExtensions.cs
Show resolved
Hide resolved
Contributor
Author
|
Needs tests and some other stuff by the looks of it, I'll sort those tomorrow. |
aaronpowell
reviewed
Sep 15, 2025
03f6b34 to
9429080
Compare
9429080 to
d430a9b
Compare
aaronpowell
approved these changes
Sep 25, 2025
This was referenced Sep 26, 2025
Bump CommunityToolkit.Aspire.Hosting.Sqlite from 9.7.2 to 9.8.0
askpt/openfeature-dotnet-workshop#31
Closed
This was referenced Oct 7, 2025
This was referenced Oct 9, 2025
This was referenced Dec 8, 2025
This was referenced Jan 5, 2026
Closed
Closed
This was referenced Jan 19, 2026
This was referenced Feb 8, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an internal healthcheck to the Collector container. This uses a non-default port, and adds a new extension so it doesn't interfere with any components the user has specified. This also enables the "merge and append" feature flag.
PR Checklist