Description
httpRequestsAdaptive (sampled raw events, 31d) and httpRequestsAdaptiveGroups for the hostnames of Access applications. Scope is configurable; the default is Access-protected hosts only (decision 2026-09-23, Rob).
Acceptance Criteria
- #1 Raw events become log records with every entitled field; the selection is negotiated from availableFields per zone
- #2 Request, status-class, cache and origin-latency metrics come from the Groups dataset, never from counting raw rows
- #3 Scope config supports access_protected (default), explicit host list, and all hosts per zone
- #4 Verified live: events for an Access-protected host land in Loki with host, path, status and client fields
Definition of Done
- #1 just check (fmt-check, lint, vet, test, tidy-check, build, vuln)
- #2 just ci before a change that touches the Dockerfile, goreleaser or the image (adds snapshot + image)
- #3 Every new signal or attribute name declared in internal/semconv and listed in docs/signals.md
Implementation Notes
HTTP scope and Groups tests passed in exact CI 35875578089. Loki query {service_name=“cf2otel”} | event_name=“cloudflare.http.request” returned 107 live rows with host, path, status and client metadata.
Final Summary
Protected-host HTTP events and Groups metrics released and observed live in Loki/Mimir.