prometheus/web
Tom Wilkie d479151f1f Various enhancements and refactorings for remote write receiver:
- Remove unrelated changes
- Refactor code out of the API module - that is already getting pretty crowded.
- Don't track reference for AddFast in remote write.  This has the potential to consume unlimited server-side memory if a malicious client pushes a different label set for every series.  For now, its easier and safer to always use the 'slow' path.
- Return 400 on out of order samples.
- Use remote.DecodeWriteRequest in the remote write adapters.
- Put this behing the 'remote-write-server' feature flag
- Add some (very) basic docs.
- Used named return & add test for commit error propagation

Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2021-02-08 20:41:23 +00:00
..
api/v1 Various enhancements and refactorings for remote write receiver: 2021-02-08 20:41:23 +00:00
ui Merge pull request #8431 from phith0n/missing-ui-on-windows 2021-02-01 22:30:57 +01:00
federate_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
federate.go Move away from testutil, refactor imports (#8087) 2020-10-22 11:00:08 +02:00
web_test.go Add TLS and basic authentication 2020-12-28 21:33:44 +01:00
web.go Various enhancements and refactorings for remote write receiver: 2021-02-08 20:41:23 +00:00