Repository navigation
feat: Make Phoenix (observability) an optional component - #913
Conversation
Signed-off-by: Ian Miller <[email protected]>
pdettori
left a comment
There was a problem hiding this comment.
Review Summary
Clean, well-structured feature flag implementation that makes Phoenix optional across the entire stack (Helm charts, backend, frontend, shell scripts, E2E tests, docs). The dependency direction is correct — OTEL can run without Phoenix, but Phoenix requires OTEL.
Areas reviewed: Helm/K8s, Python, Frontend, Shell, Security, Tests, Docs, Commits
Commits: 1 commit, signed-off ✓
CI status: All checks passing ✓
Highlights
- The
{{- fail }}guard inphoenix.yamlrequiring OTEL when Phoenix is enabled is excellent defensive design - The
traces/defaultfallback pipeline inotel-collector.yamlprevents OTEL Collector from starting with no pipelines — necessary correctness fix - Good test coverage in
test_dashboard_config.pyverifying both disabled (empty string) and enabled (passthrough) cases
Minor suggestions (non-blocking)
-
Two-chart sync:
components.phoenix.enabledmust be kept in sync across bothkagentiandkagenti-depscharts. Consider a note invalues.yamlor docs about this requirement — a user could enable Phoenix in one chart but forget the other. -
optional: trueinui.yaml: The change fromoptional: {{ (not .Values.openshift) }}tooptional: trueis safe since the ConfigMap always provides the key now, but it silently masks future misconfigurations. A brief comment explaining why this is always safe would help future maintainers.
Summary
RHAIENG-3565
Context
Phoenix (LLM observability) is currently deployed as part of the default Kagenti stack. For OpenShift AI deployments, it is not a required component and increases the stack footprint unnecessarily. There's already a partial toggle via components.otel.enabled, but Phoenix is bundled with OTEL so we can't disable it independently. The work is adding a components.phoenix.enabled flag and gating a handful of Helm templates and UI references. Phoenix will be optional for local Kind deployment as well.
User Stories
As a platform engineer, I want to install the Kagenti stack without Phoenix (by default), so that I only deploy what is required for core functionality.
What
Make it optional and default to off. Ensure the base Kagenti deployment works fully without Phoenix. Gate all Phoenix-related configuration (Helm values, Ansible tasks, backend config) behind a feature flag. Verify no hard dependencies on Phoenix endpoints exist in the backend or UI.
Why
Mandating Phoenix increases the stack footprint and blocks minimal deployments on OpenShift. Making it optional reduces resource requirements and simplifies the base deployment.
Acceptance Criteria
[ ] Kagenti deploys and functions fully on OpenShift without Phoenix enabled
[ ] Phoenix can be enabled via a clear configuration flag
[ ] No backend or UI errors when Phoenix is disabled
[ ] Agent chat, tool deployment, and Shipwright builds work without Phoenix
Related issue(s)
(Optional) Testing Instructions
1. Phoenix is disabled in cluster:
Kagenti UI reflects changes:
Kiali confirms no Phoenix in the cluster:
If Phoenix is enabled, UI looks the following way:

2. Phoenix is enabled but OTEL is disabled therefore raises the error:
Fixes #