chore: format proto file (#254)

* chore: proto file format using buf

* generate go file
This commit is contained in:
fys
2025-07-16 11:25:57 +08:00
committed by GitHub
parent ceb1af4fa9
commit 855dff1b87
30 changed files with 432 additions and 354 deletions
+3 -3
View File
@@ -14,17 +14,17 @@
syntax = "proto3";
package prometheus;
import "prometheus/remote/types.proto";
// GreptimeTeam modify the original go_package definition to make it consistent with the go package name.
// And we also remove the gogoproto dependency which is now deprecated.
option go_package = "github.com/GreptimeTeam/greptime-proto/go/prometheus/remote";
import "prometheus/remote/types.proto";
message WriteRequest {
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;
reserved 2;
repeated prometheus.MetricMetadata metadata = 3;
}