Skip to content

fix(diagnostics-otel): metrics and logs posted to the traces endpoint when the shared OTLP endpoint is signal-qualified - #101655

Merged
vincentkoc merged 1 commit into
openclaw:mainfrom
Darren2030:claude/98886-otel-shared-endpoint
Aug 5, 2026
Merged

vincentkoc merged 1 commit into
openclaw:mainfrom
Darren2030:claude/98886-otel-shared-endpoint

Conversation

@Darren2030

@Darren2030 Darren2030 commented Jul 7, 2026 •

Copy link
Copy Markdown
Contributor

Closes #98886

What Problem This Solves

Fixes an issue where operators using one shared OTLP HTTP endpoint could send metrics and logs to the traces route when that endpoint already ended in /v1/traces. Collectors then rejected the mismatched protobuf payload, so those signals never arrived.

Why This Change Was Made

The root cause was loss of endpoint-source identity in resolveSignalOtelUrl: shared and signal-specific endpoints were collapsed before routing, and any terminal /v1/{traces,metrics,logs} path was then preserved for every signal.

The canonical fix stays at the diagnostics OTLP exporter boundary:

  • Shared endpoints are routed per signal. Roots, trailing-slash roots, and custom base paths append /v1/<signal>.
  • A shared endpoint already ending in /v1/<signal> keeps the matching route and replaces that terminal signal for the other exporters.
  • Signal-specific config and OTEL_EXPORTER_OTLP_*_ENDPOINT values are passed through verbatim.
  • Existing URL validation, TLS trust, proxy, and fail-closed behavior is unchanged.

This matches the stable OTLP exporter contract and the installed OpenTelemetry JS 0.221.0 implementation: the shared endpoint is a base, while signal-specific endpoints are used as supplied. The change does not absorb protocol, shutdown, recorder, or health work.

User Impact

Traces, metrics, and logs now reach their canonical OTLP HTTP routes when a shared endpoint is configured, including hosted collector URLs such as /api/public/otel/v1/traces. Operators who configure signal-specific endpoints keep exact URL control, including custom paths, query strings, and trailing slashes.

Release-note context: this is a user-visible diagnostics routing fix. The behavior and upgrade note are documented in docs/gateway/opentelemetry.md; no contributor CHANGELOG.md entry is included.

Evidence

  • Exact PR head: 0db11215280089981113f527cee017aa543082fa.
  • Focused local proof: 223/223 tests passed across service.test.ts and service.otlp-export.test.ts; git diff --check, targeted oxfmt, and branch autoreview passed with no accepted/actionable findings.
  • Real exporter/receiver seam: an ephemeral HTTP receiver observed protobuf POSTs for traces, metrics, and logs from shared roots, trailing-slash roots, custom paths, and shared /api/public/otel/v1/traces; signal-specific endpoints were observed exactly as configured.
  • AWS Crabbox exact-tree proof: provider aws, lease cbx_8c8770d483bb, run run_26c824aa42b3 matched changed-file and lockfile SHA-256 values, then passed 223/223 tests and formatting.
  • AWS changed gate: run run_da265682deb0 passed conflict, env-var, max-lines, attribution, extension-boundary, dependency, format, Plugin SDK, deprecated API, plugin-boundary, and patch guards. Its only failure was the repository-wide dead-export scan on untouched src/config/**.
  • Baseline comparison: run run_2f4eb562555a reproduced the identical dead-export failure on base 9ef94e4ef93c73c0d3331f1546128b1e95b6bfce, proving it is independent of this PR.
  • Remote build environment: the hydrated checkout lacked the root pretty-ms link; a frozen reinstall then hit the unchanged base lockfile's missing @oxc-parser/[email protected] entry. Hosted exact-head CI passed, including build-artifacts, check-lint, and openclaw/ci-gate: https://github.com/openclaw/openclaw/actions/runs/31028619754.
  • Cleanup: lease cbx_8c8770d483bb was released, and the subsequent AWS lease list was empty.
  • LOC: production +27/-11 (net +16), tests +187/-12 (net +175), docs +13/-0.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation gateway Gateway runtime extensions: diagnostics-otel Extension: diagnostics-otel size: S labels Jul 7, 2026
@clawsweeper

clawsweeper Bot commented Jul 7, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 5, 2026, 1:29 PM ET / 17:29 UTC.

ClawSweeper review

What this changes

The PR routes shared OTLP endpoints to each signal’s HTTP path while preserving explicit trace, metric, and log endpoint overrides verbatim.

Regression provenance

Possible regression — probable (reproduction; reviewed change). No predecessor PR is attributed.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

Current main still misroutes metrics and logs from a shared signal-qualified OTLP endpoint; this exact-head PR cleanly repairs that owner boundary with no actionable review finding. A member has explicitly accepted the bounded compatibility change, so it is ready for normal maintainer merge handling.

Priority: P2
Reviewed head: 0db11215280089981113f527cee017aa543082fa

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The PR has strong production-boundary proof and a focused owner-boundary repair; direct installed dependency-source inspection was unavailable in this checkout.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (terminal): The PR provides after-fix terminal output from a loopback OTLP receiver driven through the real diagnostics service and transport exporters, observing all three signal paths.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (terminal): The PR provides after-fix terminal output from a loopback OTLP receiver driven through the real diagnostics service and transport exporters, observing all three signal paths.
Evidence reviewed 5 items Current-main defect: Current main preserves any terminal OTLP signal path for every caller; the service resolves the shared endpoint independently for logs, traces, and metrics, so a shared /v1/traces URL remains wrong for the latter two signals.
Exact-head owner-boundary repair: The PR distinguishes shared from signal-specific endpoint sources: shared values replace or append only the terminal OTLP signal segment, while explicit per-signal config and environment values remain exact.
Production-boundary proof: Exact-head tests drive the real diagnostics service and OTLP SDK exporters into a loopback HTTP receiver, observing trace, metric, and log POSTs on separate paths; additional tests lock explicit overrides to their configured URLs.
Findings None None.
Security None None.

How this fits together

Gateway diagnostics configuration and OTLP environment variables feed the diagnostics-OTEL plugin, which resolves exporter URLs before OpenTelemetry sends trace, metric, and log protobuf payloads to a collector.

flowchart LR
  A[Diagnostics settings] --> C[Diagnostics OTEL plugin]
  B[OTLP environment variables] --> C
  C --> D[Endpoint source decision]
  D --> E[Per-signal exporter URLs]
  E --> F[OTLP collector]
  F --> G[Telemetry ingestion]
Loading

Before merge

  • Resolve merge risk (P1) - An existing multi-signal setup that deliberately expects one shared signal-qualified route for every payload will now use standard per-signal paths; explicit per-signal endpoints remain the exact-route escape hatch.
  • Resolve merge risk (P1) - The review checkout lacks installed OpenTelemetry sources and network access prevented upstream retrieval, so direct dependency-source inspection could not independently confirm the asserted exporter contract.
  • Complete next step (P2) - No mechanical repair remains; the next step is normal maintainer handling of the reviewed exact head.
Agent review details

Security

None.

PR surface

Source +16, Tests +175, Docs +13. Total +204 across 4 files.

View PR surface stats
Area Files Added Removed Net
Source 1 27 11 +16
Tests 2 187 12 +175
Docs 1 13 0 +13
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 4 227 23 +204

Review metrics

Metric Value Why it matters
Production and regression-test delta production +27/-11; docs +13/-0; tests +187/-12 The small production increase is justified by making shared versus explicit endpoint ownership unambiguous; the larger test delta exercises the real exporter/receiver seam.

Merge-risk options

Maintainer options:

  1. Proceed with the accepted routing boundary (recommended)
    Merge after normal exact-head gates, with shared endpoints using standard per-signal routes and explicit signal-specific endpoints retaining custom-route compatibility.

Technical review

Best possible solution:

Merge the source-aware resolver after ordinary exact-head gates, retaining explicit per-signal endpoints as the documented compatibility path for collectors that intentionally use custom routes.

Do we have a high-confidence way to reproduce the issue?

Yes: current main’s shared resolver and three exporter call sites directly establish the misrouting path, and the PR’s loopback receiver proof exercises the repaired production exporter boundary.

Is this the best way to solve the issue?

Yes: separating shared endpoint routing from explicit signal-specific overrides at the diagnostics exporter boundary avoids duplicating URL policy in callers or transports.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 414616f58389.

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove merge-risk: 🚨 security-boundary: Current PR review merge-risk labels are merge-risk: 🚨 compatibility.

Label justifications:

  • P2: This fixes bounded diagnostics delivery misrouting without evidence of a core availability or security emergency.
  • merge-risk: 🚨 compatibility: A shared signal-qualified URL that intentionally received every enabled signal now routes to standard per-signal paths, although explicit per-signal URLs preserve that setup.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): The PR provides after-fix terminal output from a loopback OTLP receiver driven through the real diagnostics service and transport exporters, observing all three signal paths.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR provides after-fix terminal output from a loopback OTLP receiver driven through the real diagnostics service and transport exporters, observing all three signal paths.

Evidence

What I checked:

Likely related people:

  • vincentkoc: Merged the preceding OTEL endpoint-resolution change, authored the exact PR head, and explicitly accepted standard per-signal routing for shared endpoints. (role: recent area contributor; confidence: high; commits: 88f698974af7, 0db112152800; files: extensions/diagnostics-otel/src/service-exporter.ts)
  • sunlit-deng: Current-file history attributes the resolver/caller extraction area to this contributor, though partial history prevents stronger attribution. (role: adjacent history contributor; confidence: low; commits: 0d7baffc19; files: extensions/diagnostics-otel/src/service-exporter.ts, extensions/diagnostics-otel/src/service.ts)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (13 earlier review cycles; latest 8 shown)
  • reviewed 2026-07-08T13:21:33.557Z sha 2f63e57d9fda41d38baa4134af8822d1b6c52d20 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-08T13:31:48.100Z sha 2f63e57d9fda41d38baa4134af8822d1b6c52d20 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-08T14:15:54.069Z sha 47b180de10acf9837e25891fc45b9b9fbf46eccc :: needs maintainer review before merge. :: none
  • reviewed 2026-07-08T14:23:34.387Z sha 47b180de10acf9837e25891fc45b9b9fbf46eccc :: needs maintainer review before merge. :: none
  • reviewed 2026-07-31T00:15:25.347Z sha 47b180de10acf9837e25891fc45b9b9fbf46eccc :: needs maintainer review before merge. :: none
  • reviewed 2026-08-03T11:53:44.276Z sha 47b180de10acf9837e25891fc45b9b9fbf46eccc :: needs maintainer review before merge. :: none
  • reviewed 2026-08-03T12:02:08.971Z sha 47b180de10acf9837e25891fc45b9b9fbf46eccc :: needs maintainer review before merge. :: none
  • reviewed 2026-08-03T13:46:59.303Z sha 47b180de10acf9837e25891fc45b9b9fbf46eccc :: needs maintainer review before merge. :: none

@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. labels Jul 7, 2026
@vincentkoc vincentkoc self-assigned this Jul 7, 2026
@Darren2030
Darren2030 force-pushed the claude/98886-otel-shared-endpoint branch from f540261 to 349ed1e Compare July 8, 2026 00:52
@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: M and removed size: S labels Jul 8, 2026
@Darren2030
Darren2030 force-pushed the claude/98886-otel-shared-endpoint branch from 349ed1e to 91452b8 Compare July 8, 2026 00:54
@Darren2030

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

This addresses the review findings and brings the branch up-to-date with main:

  1. Docs note clarified (docs/gateway/opentelemetry.md):

    • Signal-specific *Endpoint config and env vars that already end in a signal path are used verbatim.
    • Bare signal-specific URLs still have /v1/<signal> appended, matching the existing runtime behavior.
  2. Real behavior proof added in scripts/repro/issue-98886-otel-shared-endpoint.mts:

    • Starts a real loopback OTLP/HTTP receiver.
    • Drives the production createDiagnosticsOtelService with a shared endpoint ending in /v1/traces and all three signals enabled.
    • Verifies traces, metrics, and logs each POST to their own path.

Local run output:

Shared endpoint: http://127.0.0.1:<port>/v1/traces
Received OTLP POST paths: [ '/v1/metrics', '/v1/traces', '/v1/logs' ]
PASS: traces, metrics, and logs each routed to their own OTLP path.
  1. Branch rebased onto the latest upstream/main.

@clawsweeper

clawsweeper Bot commented Jul 8, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

@Darren2030
Darren2030 force-pushed the claude/98886-otel-shared-endpoint branch 2 times, most recently from 989285f to 7eefef1 Compare July 8, 2026 01:02
@Darren2030

Copy link
Copy Markdown
Contributor Author

Rebased onto the latest upstream/main (now ef91bb370b) and re-verified:

  • extensions/diagnostics-otel/src/service.test.ts: 108 passed
  • npx oxlint on changed source/docs/repro files: clean
  • node --import tsx scripts/repro/issue-98886-otel-shared-endpoint.mts:
Shared endpoint: http://127.0.0.1:<port>/v1/traces
Received OTLP POST paths: [ '/v1/metrics', '/v1/traces', '/v1/logs' ]
PASS: traces, metrics, and logs each routed to their own OTLP path.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 8, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

@Darren2030
Darren2030 force-pushed the claude/98886-otel-shared-endpoint branch 2 times, most recently from 7e24584 to 901b65b Compare July 8, 2026 01:14
@clawsweeper clawsweeper Bot removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Jul 8, 2026
@Darren2030

Copy link
Copy Markdown
Contributor Author

Fixed the CI oxlint error in scripts/repro/issue-98886-otel-shared-endpoint.mts:253:

main().catch((err: unknown) => {
  console.error(err);
  process.exitCode = 1;
});

Local verification: npx oxlint --import-plugin --config .oxlintrc.json scripts/repro/issue-98886-otel-shared-endpoint.mts now passes. The reproduction script still produces the same loopback proof output.

Rebased onto latest upstream/main again to keep the branch current.

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Jul 8, 2026
@clawsweeper clawsweeper Bot added the merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. label Jul 8, 2026
@Darren2030

Copy link
Copy Markdown
Contributor Author

Re: merge-risk: 🚨 compatibility — requesting owner accept of the shared-endpoint fallback change

@vincentkoc — ClawSweeper's compatibility label is about one specific behavior change; I'd like your explicit accept before merge. No code change is needed; this is the bot's "maintainer decision needed" item.

What changes. A shared OTLP endpoint (or OTEL_EXPORTER_OTLP_ENDPOINT) ending in /v1/<signal> is no longer returned verbatim for every signal. resolveSignalOtelUrl now normalizes the trailing signal segment for the shared endpoint, while explicit per-signal *Endpoint / OTEL_EXPORTER_OTLP_*_ENDPOINT stay verbatim (extensions/diagnostics-otel/src/service.ts, resolveSignalOtelUrl). This overrides the verbatim-preserve fallback you added in #13791 (88f698974af7 / a246f65f213a / 4d905c72ffb6).

Why no shipped working config breaks.

  • Traces-only on a shared …/v1/traces endpoint: unaffected — normalize for traces is a no-op (the endsWith guard skips the rewrite); the new test asserts the traces URL is unchanged.
  • Multi-signal on a shared …/v1/<signal> endpoint: already broken on main and the latest release — metrics/logs are POSTed to /v1/traces and rejected by the backend (the invalid wire type 7 reported in [Bug]: diagnostics-otel reuses a signal-qualified OTLP endpoint for all enabled signals, POSTing metrics/logs to the traces endpoint #98886). The fix routes each signal to its own path; no working behavior is lost.
  • Collectors that genuinely want all signals on one URL: the per-signal *Endpoint escape hatch remains verbatim (preserve), with a lock-in test guarding it.

Contract basis. Pinned @opentelemetry/exporter-*-otlp-proto 0.219.0 (extensions/diagnostics-otel/package.json) use signal-specific resource paths /v1/{traces,metrics,logs} per the OTLP HTTP spec; the shared OTEL_EXPORTER_OTLP_ENDPOINT appends the signal path, signal-specific endpoints are exact. The shared-endpoint normalize aligns with that contract rather than introducing a new one.

This matches ClawSweeper's recommended option (accept standard OTLP per-signal routing for shared signal-qualified endpoints and merge). If you'd rather keep exact shared-URL reuse as the default, I'm happy to switch to an opt-in/warning design instead. Real-behavior proof is in the loopback repro at scripts/repro/issue-98886-otel-shared-endpoint.mts (separate /v1/metrics, /v1/traces, /v1/logs POSTs).

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Aug 3, 2026
@openclaw-barnacle

Copy link
Copy Markdown

This assigned pull request has been automatically marked as stale after being open for 27 days.
Please add updates or it will be closed.

@openclaw-barnacle openclaw-barnacle Bot added the stale Marked as stale due to inactivity label Aug 4, 2026
Keep shared endpoint routing signal-aware while preserving explicit signal-specific URLs exactly. Cover the resolver through mocked constructors and real OTLP/HTTP trace, metric, and log exporters.

Co-authored-by: Darren2030 <[email protected]>
@vincentkoc
vincentkoc force-pushed the claude/98886-otel-shared-endpoint branch from 47b180d to 0db1121 Compare August 5, 2026 17:08
@openclaw-barnacle openclaw-barnacle Bot removed the scripts Repository scripts label Aug 5, 2026
@vincentkoc

Copy link
Copy Markdown
Member

@clawsweeper re-review

Exact head: 0db11215280089981113f527cee017aa543082fa

Latest rank-up moves are addressed:

  • Owner decision: accept standard per-signal routing for a shared endpoint; keep signal-specific config/env endpoints verbatim.
  • Owner boundary: rebased into extensions/diagnostics-otel/src/service-exporter.ts; existing URL validation, TLS, proxy, and fail-closed handling remain intact.
  • Proof: focused tests pass 223/223; the real OTLP/HTTP loopback receiver covers traces, metrics, and logs across shared roots, trailing slashes, custom paths, shared /v1/traces, and exact signal-specific endpoints.

Installed OpenTelemetry JS 0.221.0 source/types and the stable OTLP exporter contract were inspected directly. The PR body contains the exact local, AWS Crabbox, baseline-comparison, cleanup, LOC, and current CI evidence.

@clawsweeper

clawsweeper Bot commented Aug 5, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. labels Aug 5, 2026
@vincentkoc
vincentkoc merged commit d8c2407 into openclaw:main Aug 5, 2026
128 checks passed
@vincentkoc

Copy link
Copy Markdown
Member

Merged via squash.

vincentkoc added a commit to VACInc/openclaw that referenced this pull request Aug 5, 2026
…cope

* origin/main: (70 commits)
  fix(clickclack): preserve MIME extension for unnamed uploads (openclaw#119646)
  fix(memory): keep post-ready RPCs responsive (openclaw#119710)
  fix(browser): preserve locale, timezone, and device overrides (openclaw#119695)
  fix(agents): stop messaging dedupe from dropping final replies that quote a short tool send (openclaw#118178)
  test(agents): batch code mode budget proof (openclaw#119699)
  fix(memory): keep gateway RPCs responsive during startup (openclaw#119676)
  improve(ui): trail transient session status beside row actions (openclaw#119560)
  refactor(msteams): consolidate channel action target resolution (openclaw#119632)
  fix: tail context answers the current user message (openclaw#117364)
  fix(whatsapp): exercise descriptor-safe credential persistence (openclaw#119621)
  fix(diagnostics-otel): route OTLP endpoints by signal (openclaw#101655)
  refactor(skills): consolidate workshop transcript and record normalization (openclaw#119643)
  fix(video): harden DashScope task and media lifecycle (openclaw#117303)
  refactor(transcripts): consolidate persistence and export ownership (openclaw#119634)
  fix: preserve ClickClack discussion state contracts (openclaw#118851)
  fix(matrix): retire shared E2EE clients safely (openclaw#119570)
  refactor(cron): unify catch-up persistence and payload encoding (openclaw#119636)
  refactor(ui): centralize composer attachment and capability controls (openclaw#119650)
  refactor(daemon): consolidate managed service lifecycle ownership (openclaw#119647)
  fix(browser): honor explicit navigation timeouts across browser drivers (openclaw#119654)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 6, 2026
Keep shared endpoint routing signal-aware while preserving explicit signal-specific URLs exactly. Cover the resolver through mocked constructors and real OTLP/HTTP trace, metric, and log exporters.

Co-authored-by: Vincent Koc <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation extensions: diagnostics-otel Extension: diagnostics-otel gateway Gateway runtime merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: M stale Marked as stale due to inactivity status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: diagnostics-otel reuses a signal-qualified OTLP endpoint for all enabled signals, POSTing metrics/logs to the traces endpoint

2 participants