prometheus/web/api/v1
George Krajcsovits 979aea1d49
OTLP to directly write to an interface which can hide storage details (#16951)
* OTLP writer writes directly to appender

Do not convert to Remote-Write 1.0 protocol. Convert to TSDB Appender interface instead.

For downstream projects that still convert OTLP to something else (e.g. Mimir using
its own RW 1.0+2.0 compatible protocol), introduce a compatibility layer between
OTLP decoding and TSDB Appender. This is the CombinedAppender that hides the
implementation. Name is subject to change.

---------

Signed-off-by: David Ashpole <dashpole@google.com>
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
Signed-off-by: George Krajcsovits <krajorama@users.noreply.github.com>
Co-authored-by: David Ashpole <dashpole@google.com>
Co-authored-by: Jesus Vazquez <jesusvazquez@users.noreply.github.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2025-09-08 14:34:25 +02:00
..
api.go OTLP to directly write to an interface which can hide storage details (#16951) 2025-09-08 14:34:25 +02:00
api_test.go Reapply "prw: use Unit and Type labels for metadata when feature flag is enabled (#17033)" 2025-08-29 08:16:37 +01:00
codec.go Implement fully-featured content negotiation for API requests, and allow overriding the default API codec. 2023-03-09 12:02:45 +11:00
codec_test.go Implement fully-featured content negotiation for API requests, and allow overriding the default API codec. 2023-03-09 12:02:45 +11:00
errors_test.go Engine: Allow error response code to be customized (#16257) 2025-08-19 16:43:47 +01:00
json_codec.go chore: enable unused-receiver rule from revive 2025-08-04 09:43:33 +00:00
json_codec_test.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
translate_ast.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00