mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-11-06 19:06:58 +00:00
* feat(otlp): persist metric exemplars OTLP metric conversion now emits exemplars through the shared storage contract. It validates timestamps, IDs, values and label budgets, and associates histogram exemplars only with emitted buckets that contain their values. Invalid observations are dropped and counted while valid points and siblings remain ingestible. Frontend ingestion authorizes the emitted destinations and retains confirmed completions across metric and exemplar writes, including logical-table batching. Includes conversion and schema-failure isolation tests; tests that also query the new Prometheus endpoint land in the final layer. Signed-off-by: shuiyisong <xixing.sys@gmail.com> * feat(otlp): bind exemplars to source metric identities Signed-off-by: shuiyisong <xixing.sys@gmail.com> * fix(otlp): bound exemplar memory and preserve series Signed-off-by: shuiyisong <xixing.sys@gmail.com> * fix(otlp): skip exemplars without metric engine Signed-off-by: shuiyisong <xixing.sys@gmail.com> * fix(otlp): skip exemplars for ordinary tables Signed-off-by: shuiyisong <xixing.sys@gmail.com> * refactor(exemplar)!: prefix the shared table name Signed-off-by: shuiyisong <xixing.sys@gmail.com> * fix(otlp): avoid waiting with body permits held Signed-off-by: shuiyisong <xixing.sys@gmail.com> --------- Signed-off-by: shuiyisong <xixing.sys@gmail.com>