Add OpenTelemetry Collector to the apps catalog - #416
Open
giomartinsdev wants to merge 1 commit into
Open
Conversation
Adds otel-collector as a one-click app template (docker-compose kind, category: analytics), alongside Grafana and the other observability apps. Uses the upstream otel/opentelemetry-collector-contrib image unmodified — its baked-in default config already stands up OTLP gRPC (4317) and HTTP (4318) receivers plus a debug exporter, so no custom command/config override is needed to get a usable collector running. Also wires up brand-mark resolution: - AppLogo.tsx: catalog logo "otel-collector" → simpleicons "opentelemetry" - ServiceIcon.tsx: image name → same brand mark, for services created from a raw compose file rather than the catalog (both "opentelemetry-collector-contrib" and "otel-collector" match) catalog.json regenerated from apps/catalog/*.json per the drift test in apps/catalog.test.ts (gen-catalog.ts requires bun, unavailable in this environment — reproduced its exact merge/sort logic with a plain node script; verified the new entry lands alphabetically and the rest of the file is a no-op diff).
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.
Closes #415
Summary
otel-collector(OpenTelemetry Collector) as a one-click app template, categoryanalytics, alongside Grafana and the other observability/backend apps.otel/opentelemetry-collector-contrib:latestunmodified — verified locally that its baked-in default config already starts an OTLP gRPC receiver on 4317 and an OTLP HTTP receiver on 4318 with a working default pipeline, so no customcommand/config override was needed (kept the entry as simple asgrafana.json).catalog.jsonfromapps/catalog/*.jsonviabun scripts/gen-catalog.ts.AppLogo.tsx: catalog logo"otel-collector"→ simpleicons"opentelemetry"ServiceIcon.tsx: image-name based resolution, covering bothopentelemetry-collector-contrib(the actual image name) andotel-collector(a shorter name some registries/rebuilds use), for services created from a raw compose file rather than the catalog.Test plan
otel/opentelemetry-collector-contrib:latest'sENTRYPOINT/CMDand confirmed the image's baked-in default config (/etc/otelcol-contrib/config.yaml) starts cleanly with OTLP gRPC (4317) + HTTP (4318) receivers and no fatal errors (docker run --rm).bun scripts/gen-catalog.ts— regeneratedcatalog.json, zero diff against my hand-authored version.bunx vitest runinpackages/core— 29 test files, 325 tests, all passing, includingapps/catalog.test.ts's drift check and full-schema validation of every bundled app.bunx tsc --noEmitinapps/dashboard— clean, no type errors from theAppLogo.tsx/ServiceIcon.tsxedits.