This issue track work left to stabilize [PROM-39](https://github.com/prometheus/proposals/pull/39) feature. * [x] flag and OM, prom (text+proto) parsing, PromQL engine support (https://github.com/prometheus/prometheus/pull/16228) * [x] When performing rate() or increase() over series without the correct `__type__` label, surface warnings to the user (https://github.com/prometheus/prometheus/pull/16632) * [ ] PromQL Annotation/warning when type or unit mismatch across series (https://github.com/prometheus/prometheus/issues/16641) - Idea: [Middleware](https://github.com/prometheus/prometheus/blob/d68982d38ec8a74e60012027a91a7110a3e1c06e/semconv/storage.go#L175) storage.Storage with storage.SeriesSet.Next that saves first seen type and unit and produce annotation when we see another. * [ ] metric family switch bug for text formats - Detection like this: https://github.com/prometheus/prometheus/blob/main/scrape/scrape.go#L1920 - Fix [todos](https://github.com/prometheus/prometheus/blob/8ed37d3c0939767e3071c549e1a58cefaf142228/model/textparse/openmetricsparse_test.go#L186C12-L186C34) * [x] #16738 * [x] OTLP receive support (https://github.com/prometheus/prometheus/pull/16630) * [x] PRW send support * [x] PRW recv support cc @ArthurSens @dashpole
This issue track work left to stabilize PROM-39 feature.
__type__label, surface warnings to the user (PROM-39: Provide PromQL info annotations when rate()/increase() over series without__type__="counter" label #16632)- Detection like this: https://github.com/prometheus/prometheus/blob/main/scrape/scrape.go#L1920
- Fix todos
cc @ArthurSens @dashpole