Skip to content

Add self-hosted OpenObserve to the local devcontainer - #65045

Closed
pelikhan with Copilot wants to merge 2 commits into
mainfrom
copilot/update-local-server-setup-opentelemetry
Closed

pelikhan with Copilot wants to merge 2 commits into
mainfrom
copilot/update-local-server-setup-opentelemetry

Conversation

Copilot AI commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Local development lacked a self-hosted destination for OpenTelemetry traces. This adds OpenObserve to the devcontainer setup and configures OTLP export to reach it.

  • Local service: Run OpenObserve alongside the development container, with persistent storage and a loopback-only UI port.
  • Telemetry: Configure the OTLP/HTTP endpoint, protocol, service name, and Basic-auth header.
  • Setup: Document credential configuration and access from the container and host.

Copilot AI and others added 2 commits October 2, 2026 15:07
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI requested a review from pelikhan October 2, 2026 15:09
@pelikhan
pelikhan marked this pull request as ready for review October 2, 2026 15:27
Copilot AI balanced review requested due to automatic review settings October 2, 2026 15:27
@pelikhan pelikhan closed this Oct 2, 2026

Copilot AI 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.

Copilot review overview

🟡 Changes recommended

The missing workspace mount and incorrect port-forward target prevent reliable development and remote UI access.

Review effort: Balanced
Findings: 2 Medium severity

Open (2)
What changed in this PR

Adds self-hosted OpenObserve to the gh-aw devcontainer for local OpenTelemetry trace collection.

Changes:

  • Adds persistent OpenObserve storage and a loopback-only UI port.
  • Configures OTLP export and documents credential setup.
File Description
DEVGUIDE.md Documents credentials, endpoints, and UI access.
.devcontainer/​devcontainer.json Switches to Compose and adds port forwarding.
.devcontainer/​compose.yml Defines development and OpenObserve services with telemetry settings.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

Comment thread .devcontainer/compose.yml
build:
context: .
dockerfile: Dockerfile
command: sleep infinity
"dockerComposeFile": "compose.yml",
"service": "dev",
"workspaceFolder": "/workspaces/gh-aw",
"forwardPorts": [5080],
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.

3 participants