prometheus/storage/remote/otlptranslator/prometheus
Goutham Veeramachaneni ad4f514e66
Add OTLP Ingestion endpoint (#12571)
* Add OTLP Ingestion endpoint

We copy files from the otel-collector-contrib. See the README in
`storage/remote/otlptranslator/README.md`.

This supersedes: https://github.com/prometheus/prometheus/pull/11965

Signed-off-by: gouthamve <gouthamve@gmail.com>

* Return a 200 OK

It is what the OTEL Golang SDK expect :(

https://github.com/open-telemetry/opentelemetry-go/issues/4363

Signed-off-by: Goutham <gouthamve@gmail.com>

---------

Signed-off-by: gouthamve <gouthamve@gmail.com>
Signed-off-by: Goutham <gouthamve@gmail.com>
2023-07-28 12:35:28 +02:00
..
normalize_label.go Add OTLP Ingestion endpoint (#12571) 2023-07-28 12:35:28 +02:00
normalize_label_test.go Add OTLP Ingestion endpoint (#12571) 2023-07-28 12:35:28 +02:00
normalize_name.go Add OTLP Ingestion endpoint (#12571) 2023-07-28 12:35:28 +02:00
normalize_name_test.go Add OTLP Ingestion endpoint (#12571) 2023-07-28 12:35:28 +02:00
testutils_test.go Add OTLP Ingestion endpoint (#12571) 2023-07-28 12:35:28 +02:00