Skip to content

Commit

Permalink
update prom remote write for bulk timers
Browse files Browse the repository at this point in the history
Also do some cleanup of stuff we don't need.

Signed-off-by: Matt Klein <[email protected]>
  • Loading branch information
mattklein123 committed Jan 18, 2025
1 parent 45ed6e6 commit 2d7207a
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 311 deletions.
144 changes: 0 additions & 144 deletions thirdparty/gogoproto/gogo.proto

This file was deleted.

147 changes: 0 additions & 147 deletions thirdparty/prometheus/prompb/io/prometheus/client/metrics.proto

This file was deleted.

9 changes: 3 additions & 6 deletions thirdparty/prometheus/prompb/remote.proto
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,14 @@
syntax = "proto3";
package prometheus;

option go_package = "prompb";

import "prometheus/prompb/types.proto";
import "gogoproto/gogo.proto";

message WriteRequest {
repeated prometheus.TimeSeries timeseries = 1 [(gogoproto.nullable) = false];
repeated prometheus.TimeSeries timeseries = 1;
// Cortex uses this field to determine the source of the write request.
// We reserve it to avoid any compatibility issues.
reserved 2;
repeated prometheus.MetricMetadata metadata = 3 [(gogoproto.nullable) = false];
repeated prometheus.MetricMetadata metadata = 3;

// Added as an extension, this field allows us to forward statsd PDUs that fail to parse.
repeated string failthrough_statsd_lines = 17;
Expand Down Expand Up @@ -86,4 +83,4 @@ message ChunkedReadResponse {

// query_index represents an index of the query from ReadRequest.queries these chunks relates to.
int64 query_index = 2;
}
}
Loading

0 comments on commit 2d7207a

Please sign in to comment.