prometheus/storage/remote/otlptranslator/prometheusremotewrite
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
..
helper.go Add OTLP Ingestion endpoint (#12571) 2023-07-28 12:35:28 +02:00
histograms.go Add OTLP Ingestion endpoint (#12571) 2023-07-28 12:35:28 +02:00
metrics_to_prw.go Add OTLP Ingestion endpoint (#12571) 2023-07-28 12:35:28 +02:00
number_data_points.go Add OTLP Ingestion endpoint (#12571) 2023-07-28 12:35:28 +02:00