daniel-oai
28b91c7c31
Honor the OTLP metrics temporality preference ( #51220 )
...
## Why
Some metrics backends require cumulative metrics, while configured OTLP exporters previously always used delta temporality.
## What changed
Read `OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE` for configured HTTP and gRPC metrics exporters. Accept `delta`, `cumulative`, and `lowmemory` case-insensitively, retaining delta for unset, empty, or unrecognized values. Document the setting and preserve existing temporality for the built-in Statsig exporter and runtime snapshots.
## Testing
Update the HTTP loopback test to set the preference in an isolated subprocess and assert that the exported counter uses cumulative aggregation temporality.
GitOrigin-RevId: ca212eea20054b947005d323186c8b9a819ace9d
2026-10-06 01:36:17 +00:00
..
2026-10-02 04:02:14 +00:00
2026-09-29 22:50:07 +00:00
2026-09-30 17:33:59 +00:00
2026-10-06 00:16:18 +00:00
2026-09-30 00:51:39 +00:00
2026-10-06 01:26:11 +00:00
2026-09-26 23:17:41 +00:00
2026-10-04 06:28:20 +00:00
2026-10-06 01:26:11 +00:00
2026-09-22 06:36:09 +00:00
2026-10-05 22:38:32 +00:00
2026-10-05 23:52:06 +00:00
2026-10-05 23:52:06 +00:00
2026-09-18 00:25:37 +00:00
2026-09-21 22:58:49 +00:00
2026-09-23 00:47:34 +00:00
2026-10-02 22:20:55 +00:00
2026-09-07 16:55:06 +00:00
2026-09-30 18:49:29 +00:00
2026-10-06 00:58:19 +00:00
2026-10-01 22:32:29 +00:00
2026-09-29 13:58:09 +00:00
2026-09-29 03:32:19 +00:00
2026-10-05 22:18:55 +00:00
2026-10-05 22:18:55 +00:00
2026-10-06 00:36:25 +00:00
2026-10-05 16:58:29 +00:00
2026-10-06 01:26:11 +00:00
2026-09-25 00:20:02 +00:00
2026-09-24 01:50:36 +00:00
2026-09-14 19:12:59 +00:00
2026-10-06 01:17:03 +00:00
2026-09-05 01:25:06 +00:00
2026-10-05 22:52:14 +00:00
2026-09-15 18:23:08 +00:00
2026-10-02 22:12:07 +00:00
2026-10-06 01:26:11 +00:00
2026-10-01 03:31:48 +00:00
2026-09-23 22:20:34 +00:00
2026-10-01 15:57:03 +00:00
2026-09-05 12:17:32 +00:00
2026-10-06 00:58:19 +00:00
2026-10-06 00:58:19 +00:00
2026-10-02 04:25:52 +00:00
2026-10-05 18:54:17 +00:00
2026-09-30 11:59:13 +00:00
2026-10-06 00:36:25 +00:00
2026-10-02 22:47:52 +00:00
2026-10-01 09:52:54 +00:00
2026-10-01 00:43:55 +00:00
2026-10-01 15:57:03 +00:00
2026-10-05 10:16:03 +00:00
2026-10-02 16:55:41 +00:00
2026-10-01 11:01:37 +00:00
2026-10-01 22:32:29 +00:00
2026-09-11 21:59:24 +00:00
2026-09-29 22:24:09 +00:00
2026-10-06 00:58:19 +00:00
2026-10-02 23:26:27 +00:00
2026-09-28 14:46:32 +00:00
2026-09-28 06:30:53 +00:00
2026-10-03 00:31:51 +00:00
2026-10-02 23:26:27 +00:00
2026-10-01 01:38:27 +00:00
2026-10-01 18:05:05 +00:00
2026-10-01 18:05:05 +00:00
2026-10-06 01:36:17 +00:00
2026-09-23 22:20:34 +00:00
2026-10-02 22:12:07 +00:00
2026-10-06 01:26:11 +00:00
2026-10-01 15:57:03 +00:00
2026-09-29 01:14:41 +00:00
2026-10-02 23:54:32 +00:00
2026-10-02 23:15:02 +00:00
2026-10-02 18:48:49 +00:00
2026-10-06 00:58:19 +00:00
2026-09-24 18:08:31 +00:00
2026-09-28 15:58:17 +00:00
2026-09-09 04:00:10 +00:00
2026-09-27 03:26:57 +00:00
2026-10-02 23:34:11 +00:00
2026-10-02 00:46:14 +00:00
2026-10-04 04:25:31 +00:00
2026-10-02 23:34:11 +00:00
2026-10-06 00:36:25 +00:00
2026-10-06 01:26:11 +00:00
2026-10-01 18:05:05 +00:00
2026-09-08 00:13:28 +00:00
2026-10-03 07:14:12 +00:00
2026-10-01 15:57:03 +00:00
2026-09-23 04:25:28 +00:00
2026-09-22 23:37:39 +00:00
2026-10-04 19:07:36 +00:00
2026-10-03 03:20:37 +00:00
2026-09-23 00:47:07 +00:00
2026-10-01 15:57:03 +00:00
2026-09-08 21:19:02 +00:00
2026-10-03 21:20:56 +00:00
2026-10-03 21:20:56 +00:00
2026-10-02 04:02:14 +00:00