Description
cumulativeTemporalitySelector (internal/telemetry/exporters.go:51-57) is unconditional - correct for Grafana Cloud, but backends preferring delta have no knob. Keep cumulative as the default and add a config override (validated enum), documenting the Grafana Cloud guidance.
Acceptance Criteria
- #1 Temporality is configurable with cumulative default; docs state when to change it
- #2 Config schema/env reference regenerated
Definition of Done
- #1 just check passes (the full gate; it is what CI enforces)
- #2 just gen leaves no diff (only if a generated artifact’s inputs changed)
- #3 just –fmt –check passes and every new recipe has a # doc comment and a [group(…)]
Implementation Plan
Root F1 freezes OTLP metric temporality as cumulative by default with a validated enum; lane H later wires exporter selection and tests it.
Lane H consumes the frozen metric_temporality enum across both OTLP exporters, preserving gauge last-value semantics and testing delta versus cumulative selection.
Final Summary
Added configurable OTLP metric temporality with cumulative as the behavior-preserving default, regenerated schema and env documentation, and pinned the wire behavior with exporter tests. Implementation SHA f35b6ab. Final integrated just check passed at 5b55617; exact-head CI run 33354208183 completed success.