diff --git a/zipkin.proto b/zipkin.proto index 18d2b8f..db60018 100644 --- a/zipkin.proto +++ b/zipkin.proto @@ -14,8 +14,6 @@ syntax = "proto3"; -import "google/protobuf/empty.proto"; - package zipkin.proto3; // In Java, the closest model type to this proto is in the "zipkin2" package @@ -215,6 +213,11 @@ message ListOfSpans { repeated Span spans = 1; } +// Response for SpanService/Report RPC. This response currently does not return +// any information beyond indicating that the request has finished. That said, +// it may be extended in the future. +message ReportResponse { +} // SpanService allows reporting spans using gRPC, as opposed to HTTP POST // reporting. Implementations are asynchronous and may drop spans for reasons @@ -226,5 +229,5 @@ service SpanService { // Report the provided spans to the collector. Analogous to the HTTP POST // /api/v2/spans endpoint. Spans are not required to be complete or belonging // to the same trace. - rpc Report(zipkin.proto3.ListOfSpans) returns (google.protobuf.Empty) {} + rpc Report(ListOfSpans) returns (ReportResponse) {} }