Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

Commit

Permalink
feat: update traces and spans apis (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
kotharironak authored Jul 13, 2023
1 parent 83b3d7c commit 6e35633
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ message SpansRequest {
int32 offset = 6;
int32 limit = 7;
string space_id = 8;
bool fetch_total = 9;
}

// Span can be the entry / exit API point.
Expand All @@ -29,5 +30,5 @@ message SpanEvent {

message SpansResponse {
repeated SpanEvent spans = 1;
int32 total = 2;
optional int32 total = 2;
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ message TracesRequest {
int32 offset = 6;
int32 limit = 7;
string space_id = 9;
bool fetch_total = 10;
}

message TracesResponse {
repeated Trace traces = 1;
int32 total = 2;
optional int32 total = 2;
}

message Trace {
Expand Down

0 comments on commit 6e35633

Please sign in to comment.