prometheus/storage
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
..
remote Add OTLP Ingestion endpoint (#12571) 2023-07-28 12:35:28 +02:00
buffer_test.go Merge pull request #12264 from rabenhorst/sample-ring-iterator-mixed-histograms-fix 2023-04-20 16:58:18 +02:00
buffer.go storage: optimise sampleRing 2023-05-03 20:09:29 +02:00
fanout_test.go lint: Adjust to the lint warnings raised by current versions of golint-ci 2023-04-19 17:10:10 +02:00
fanout.go style: Replace else if cascades with switch 2023-04-19 17:22:31 +02:00
generic.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
interface.go lint: Adjust to the lint warnings raised by current versions of golint-ci 2023-04-19 17:10:10 +02:00
lazy.go tsdb: Added ChunkQueryable implementations to db; unified MergeSeriesSets and vertical to single struct. (#7069) 2020-07-31 16:03:02 +01:00
memoized_iterator_test.go Make MemoizedSeriesIterator not implement chunkenc.Iterator 2023-05-03 12:45:39 -07:00
memoized_iterator.go Make MemoizedSeriesIterator not implement chunkenc.Iterator 2023-05-03 12:45:39 -07:00
merge_test.go storage: Use separate sample types for histogram vs. float 2023-04-13 19:25:24 +02:00
merge.go style: Replace else if cascades with switch 2023-04-19 17:22:31 +02:00
noop.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
secondary.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
series_test.go Fix setting reset header to gauge histogram in seriesToChunkEncoder (#12329) 2023-05-05 18:04:30 +05:30
series.go Hide histogram chunk append and reset header internals (#12352) 2023-07-26 15:08:16 +02:00