Skip to content

docs: update observability-plane URLs for non-localhost defaults#719

Draft
rashadism wants to merge 1 commit into
openchoreo:mainfrom
rashadism:fix/observability-localhost-docs
Draft

docs: update observability-plane URLs for non-localhost defaults#719
rashadism wants to merge 1 commit into
openchoreo:mainfrom
rashadism:fix/observability-localhost-docs

Conversation

@rashadism

Copy link
Copy Markdown
Contributor

Companion to openchoreo/openchoreo#3845 and #3846, which stop the observability-plane chart from shipping *.localhost defaults for control-plane API URLs.

  • Helm values reference: observer.controlPlaneApiUrl / rca.openchoreoApiUrl defaults now show api.openchoreo.invalid:8080 (scoped to the changed values; the reference is otherwise stale and due a full regen separately).
  • Bring-your-own-environment guide: set observer.controlPlaneApiUrl in the initial install so it passes the new hostname validation.

@coderabbitai

coderabbitai Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Summary by CodeRabbit

Documentation

  • Updated Observability Plane setup and configuration documentation with new Helm settings to specify control plane API URL and observer gateway public URL for proper system integration
  • Revised Helm chart values reference with updated default configurations for Observability Plane components including Observer and Rca settings to ensure correct system connectivity and operation

Walkthrough

Two documentation files are updated for the Observability Plane: the getting-started guide gains two new Helm --set flags (observer.controlPlaneApiUrl and observer.publicUrl) in the install and upgrade commands, and the Helm reference updates default placeholder URLs from *.localhost to *.invalid and documents the observer.publicUrl field.

Changes

Observability Plane Helm URL Documentation

Layer / File(s) Summary
Helm reference: observer.publicUrl added, localhost→invalid defaults
docs/reference/helm/observability-plane.mdx
observer.controlPlaneApiUrl and rca.openchoreoApiUrl defaults changed from http://api.openchoreo.localhost:8080 to http://api.openchoreo.invalid:8080; observer.publicUrl row added with an empty-string default.
Getting-started guide: new Helm set flags in install/upgrade commands
docs/getting-started/try-it-out/on-your-environment.mdx
observer.controlPlaneApiUrl=https://api.${CP_BASE_DOMAIN} added to the core install command; observer.publicUrl=https://observer.${OBS_BASE_DOMAIN} added to the TLS upgrade command.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related issues

Possibly related PRs

  • openchoreo/openchoreo.github.io#688: Both PRs update Observability Plane observer URL configuration in Helm values docs; that PR aligns CORS allowedOrigins and browser-reachable observerURL, while this PR adds observer.publicUrl and observer.controlPlaneApiUrl set flags.
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description covers purpose and related issues but is missing all required checklist items (sidebars.ts, npm run start, npm run build, link verification). Complete the checklist by verifying sidebars.ts updates, running npm commands for preview and build, and confirming all links are working.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main changes: updating observability-plane documentation URLs to use non-localhost defaults.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

The observability-plane chart no longer ships *.localhost defaults for the
control-plane API URLs (openchoreo/openchoreo#3845) and introduces a dedicated
observer.publicUrl value (openchoreo/openchoreo#3846).

- Helm values reference: controlPlaneApiUrl / openchoreoApiUrl now show the
  .invalid placeholder default; document observer.publicUrl.
- Bring-your-own-environment guide: set observer.controlPlaneApiUrl (so the
  initial install passes hostname validation) and observer.publicUrl.

Signed-off-by: Rashad Sirajudeen <rashad@wso2.com>
@rashadism rashadism force-pushed the fix/observability-localhost-docs branch from 07ba57d to c61f83a Compare June 15, 2026 11:56

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/reference/helm/observability-plane.mdx`:
- Around line 146-147: The file observability-plane.mdx is auto-generated from
the upstream openchoreo/openchoreo repository and should not be edited directly.
Instead of modifying the observer.controlPlaneApiUrl and observer.publicUrl
entries in this MDX file, locate the upstream values.schema.json file in the
openchoreo/openchoreo repository, make the necessary changes there, and then run
the generation script scripts/generate-helm-docs.js to regenerate the
documentation. Any direct edits to this file will be overwritten on the next
generation run.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 3c90f6a5-911f-4f43-9027-c6d312276344

📥 Commits

Reviewing files that changed from the base of the PR and between 76d06ba and c61f83a.

📒 Files selected for processing (2)
  • docs/getting-started/try-it-out/on-your-environment.mdx
  • docs/reference/helm/observability-plane.mdx

Comment on lines +146 to +147
| `observer.controlPlaneApiUrl` | Control plane API base URL used by observer | `string` | `http://api.openchoreo.invalid:8080` |
| `observer.publicUrl` | Observer's own external URL (sets OBSERVER_BASE_URL). Empty falls back to a localhost default. | `string` | |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Determine whether observability-plane.mdx is generated and identify the source schema

# Check for generation markers or comments in the MDX
echo "=== Checking for generation markers in observability-plane.mdx ==="
head -20 docs/reference/helm/observability-plane.mdx | grep -i "generated\|auto-generated\|script" || echo "(No generation marker found)"

# Search for the generation script in the repo
echo ""
echo "=== Locating generation script ==="
fd -t f "generate.*helm.*docs" || echo "(No script found)"

# Check for values.schema.json files in main repo context
echo ""
echo "=== Checking for corresponding values.schema.json ==="
fd "values.schema.json" | grep -i observability || echo "(No schema file found in provided context)"

# Verify the pattern: check other generated helm reference files for markers
echo ""
echo "=== Checking other Helm reference files for generation markers ==="
fd -t f "docs/reference/helm/.*\.mdx" | head -3 | xargs -I {} sh -c 'echo "File: {}"; head -5 {} | grep -i "generated\|auto" || echo "No marker"'

Repository: openchoreo/openchoreo.github.io

Length of output: 751


🏁 Script executed:

cat scripts/generate-helm-docs.js

Repository: openchoreo/openchoreo.github.io

Length of output: 8976


🏁 Script executed:

# Check for documentation about the generation process
fd -t f "(README|CONTRIBUTING|docs)" -i | head -20

Repository: openchoreo/openchoreo.github.io

Length of output: 145


🏁 Script executed:

# Look for any documentation about how to update helm values
rg -i "helm.*values|values.*schema|generate.*helm" -t md -t mdx --max-count=10

Repository: openchoreo/openchoreo.github.io

Length of output: 103


Apply these changes to the upstream values.schema.json instead of editing this generated file directly.

This file is auto-generated from openchoreo-observability-plane/values.schema.json in the upstream openchoreo/openchoreo repository (via scripts/generate-helm-docs.js). Changes to observer.controlPlaneApiUrl and observer.publicUrl must be made in the upstream schema file and then regenerated—direct edits to this MDX will be overwritten on the next generation run.

Update the source schema in the openchoreo/openchoreo repository, then run the generation script to update the docs.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/reference/helm/observability-plane.mdx` around lines 146 - 147, The file
observability-plane.mdx is auto-generated from the upstream
openchoreo/openchoreo repository and should not be edited directly. Instead of
modifying the observer.controlPlaneApiUrl and observer.publicUrl entries in this
MDX file, locate the upstream values.schema.json file in the
openchoreo/openchoreo repository, make the necessary changes there, and then run
the generation script scripts/generate-helm-docs.js to regenerate the
documentation. Any direct edits to this file will be overwritten on the next
generation run.

Source: Learnings

@rashadism rashadism marked this pull request as draft June 15, 2026 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant