infra: drop OTel collector container — backend hosts OTLP directly (HOL-21) - #100
Closed
BrewingCoder wants to merge 1 commit into
Closed
infra: drop OTel collector container — backend hosts OTLP directly (HOL-21)#100BrewingCoder wants to merge 1 commit into
BrewingCoder wants to merge 1 commit into
Conversation
…OL-21)
The OTel collector container was a SaaS-shaped multi-protocol relay
(fluentforward, syslog, AWS Firehose CloudWatch, OTLP gRPC/HTTP/HTTPS,
TCP log) that for self-hosted deployments only delivers OTLP HTTP value
the backend already provides natively.
The .NET backend has a complete OTLP HTTP receiver at /otel/v1/{logs,
traces,metrics}: JSON + protobuf, gzip + snappy decompression, CORS-
enabled, project-id resolution from resource attributes. Self-
instrumentation already targets it directly. SDKs just needed their
default OTLP endpoint pointed at it.
Removed:
- compose.yml + compose.hobby-dotnet.yml: collector service
- infra/docker/{collector.Dockerfile, collector.yml, configure-collector.sh}
- start-infra.sh: collector from SERVICES list
- .env.example: OTEL_COLLECTOR_* image vars
- env.sh: collector hostname rewrites
Updated SDK + frontend defaults from :4318 (collector) to :8082/otel
(backend):
- sdk/highlight-run/src/index.tsx: otlpEndpoint default
- compose.hobby-dotnet.yml + compose.dev-frontend.yml: REACT_APP_OTLP_ENDPOINT
- env.sh: OTLP_DOGFOOD_ENDPOINT, OTLP_ENDPOINT
Verified: docker compose ps now shows 7 HoldFast containers (was 9
before HOL-19+HOL-21). Smoke test passes end-to-end.
Subtask of HOL-17. Closes HOL-21.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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.
Summary
The OTel collector was a SaaS-shaped multi-protocol relay (fluentforward, syslog, AWS Firehose CloudWatch, OTLP gRPC/HTTP/HTTPS, TCP log) that for self-hosted deployments only delivers OTLP HTTP value the backend already provides natively.
The .NET backend has a complete OTLP HTTP receiver at
/otel/v1/{logs,traces,metrics}: JSON + protobuf, gzip + snappy decompression, CORS-enabled, project-id resolution from resource attributes. Self-instrumentation already targets it directly. SDKs just needed their default OTLP endpoint pointed at it.Removed
compose.yml+compose.hobby-dotnet.yml: collector serviceinfra/docker/{collector.Dockerfile, collector.yml, configure-collector.sh}start-infra.sh: collector from SERVICES list.env.example:OTEL_COLLECTOR_*image varsenv.sh: collector hostname rewritesUpdated
SDK + frontend defaults from
:4318(collector) to:8082/otel(backend):sdk/highlight-run/src/index.tsx:otlpEndpointdefaultcompose.hobby-dotnet.yml+compose.dev-frontend.yml:REACT_APP_OTLP_ENDPOINTenv.sh:OTLP_DOGFOOD_ENDPOINT,OTLP_ENDPOINTTradeoffs accepted
Verified
docker compose psnow shows 7 HoldFast containers (was 9 before HOL-19 + HOL-21)../infra/docker/smoke-test-ingest.sh) passes end-to-end.Stacks on #99 (HOL-19). Subtask of HOL-17. Closes HOL-21.
🤖 Generated with Claude Code