--- "@cloudhal/cloudflare": minor "@cloudhal/core-ts": minor "@cloudhal/astro-renderer": minor "@cloudhal/storage": minor "@cloudhal/cli": minor --- Observability for self-host (#293; RFC-0047 ยง7a). - **Traces.** `OTEL_EXPORTER_OTLP_ENDPOINT` takes `https://` too, and `OTEL_EXPORTER_OTLP_HEADERS` adds a backend's headers. Every export carries `x-cloudhal-instance` and `x-cloudhal-version` headers for the collector to turn into resource attributes. - **Metrics.** The admin Worker gains `GET /api/metrics` (Prometheus text). It is off unless `CLOUDHAL_METRICS_TOKEN` is set, and then answers only that bearer token. It covers requests of the admin and site Workers (the site's through `/__cloudhal/metrics`), publish durations, scheduler lag and health, and store errors. - **Supporting changes.** `D1Driver` takes an `onError` hook, and `@cloudhal/core-ts` exports the per-isolate counters (`RequestMetrics`, `Histogram`). - **Recipes.** The compose file gains an `otel` profile (an OpenTelemetry Collector with `otel-collector.yaml`), Caddy no longer serves `/api/metrics` publicly, and the Helm chart gains `otel.headersSecret` and `metrics.enabled`.