Skip to content

Commit 71291b0

Browse files
committed
rebase from stream connection
Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
1 parent d6e2d96 commit 71291b0

File tree

4 files changed

+206
-82
lines changed

4 files changed

+206
-82
lines changed

docs/configuration/config-file-reference.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2690,16 +2690,16 @@ ha_tracker:
26902690
# CLI flag: -distributor.sign-write-requests
26912691
[sign_write_requests: <boolean> | default = false]
26922692
2693-
# EXPERIMENTAL: If true, accept prometheus remote write v2 protocol push
2694-
# request.
2695-
# CLI flag: -distributor.remote-write2-enabled
2696-
[remote_write2_enabled: <boolean> | default = false]
2697-
26982693
# EXPERIMENTAL: If enabled, distributor would use stream connection to send
26992694
# requests to ingesters.
27002695
# CLI flag: -distributor.use-stream-push
27012696
[use_stream_push: <boolean> | default = false]
27022697
2698+
# EXPERIMENTAL: If true, accept prometheus remote write v2 protocol push
2699+
# request.
2700+
# CLI flag: -distributor.remote-write2-enabled
2701+
[remote_write2_enabled: <boolean> | default = false]
2702+
27032703
ring:
27042704
kvstore:
27052705
# Backend storage to use for the ring. Supported values are: consul, etcd,

pkg/cortexpb/cortex.pb.go

Lines changed: 196 additions & 71 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/cortexpb/cortex.proto

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,12 @@ message StreamWriteRequest {
2929
message WriteResponse {
3030
int32 code = 1;
3131
string message = 2;
32-
}
33-
message WriteResponse {
3432
// Samples represents X-Prometheus-Remote-Write-Written-Samples
35-
int64 Samples = 1;
33+
int64 Samples = 3;
3634
// Histograms represents X-Prometheus-Remote-Write-Written-Histograms
37-
int64 Histograms = 2;
35+
int64 Histograms = 4;
3836
// Exemplars represents X-Prometheus-Remote-Write-Written-Exemplars
39-
int64 Exemplars = 3;
37+
int64 Exemplars = 5;
4038
}
4139

4240
message TimeSeries {

0 commit comments

Comments
 (0)