Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Yuri Shkuro <[email protected]>
  • Loading branch information
yurishkuro committed Dec 26, 2024
1 parent 49fd716 commit 194a981
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
4 changes: 2 additions & 2 deletions proto/api_v2/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ message GetTraceRequest {
(gogoproto.stdtime) = true,
(gogoproto.nullable) = false
];
// Optional. If set to true, the response will not perform any
// Optional. If set to true, the response will not include any
// enrichments to the trace, such as clock skew adjustment.
// Instead, the trace will be returned exactly as stored.
bool raw_traces = 4;
Expand Down Expand Up @@ -116,7 +116,7 @@ message TraceQueryParameters {
(gogoproto.nullable) = false
];
int32 search_depth = 8;
// Optional. If set to true, the response will not perform any
// Optional. If set to true, the response will not include any
// enrichments to the trace, such as clock skew adjustment.
// Instead, the trace will be returned exactly as stored.
bool raw_traces = 9;
Expand Down
4 changes: 2 additions & 2 deletions proto/api_v3/query_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ message GetTraceRequest {
// Optional. The end time to search trace ID.
google.protobuf.Timestamp end_time = 3;

// Optional. If set to true, the response will not perform any
// Optional. If set to true, the response will not include any
// enrichments to the trace, such as clock skew adjustment.
// Instead, the trace will be returned exactly as stored.
bool raw_traces = 4;
Expand Down Expand Up @@ -78,7 +78,7 @@ message TraceQueryParameters {
// the larger depth value simply means more traces returned.
int32 search_depth = 8;

// If set to true, the response will not perform any
// Optional. If set to true, the response will not include any
// enrichments to the trace, such as clock skew adjustment.
// Instead, the trace will be returned exactly as stored.
bool raw_traces = 9;
Expand Down
11 changes: 9 additions & 2 deletions swagger/api_v3/query_service.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,13 @@
"required": false,
"type": "integer",
"format": "int32"
},
{
"name": "query.raw_traces",
"description": "Optional. If set to true, the response will not include any \nenrichments to the trace, such as clock skew adjustment.\nInstead, the trace will be returned exactly as stored.",
"in": "query",
"required": false,
"type": "boolean"
}
],
"tags": [
Expand Down Expand Up @@ -186,7 +193,7 @@
},
{
"name": "raw_traces",
"description": "Optional. If set to true, the response will not perform any \nenrichments to the trace, such as clock skew adjustment.\nInstead, the trace will be returned exactly as stored.",
"description": "Optional. If set to true, the response will not include any \nenrichments to the trace, such as clock skew adjustment.\nInstead, the trace will be returned exactly as stored.",
"in": "query",
"required": false,
"type": "boolean"
Expand Down Expand Up @@ -364,7 +371,7 @@
},
"raw_traces": {
"type": "boolean",
"description": "If set to true, the response will not perform any \nenrichments to the trace, such as clock skew adjustment.\nInstead, the trace will be returned exactly as stored."
"description": "Optional. If set to true, the response will not include any \nenrichments to the trace, such as clock skew adjustment.\nInstead, the trace will be returned exactly as stored."
}
},
"description": "Query parameters to find traces. Except for num_traces, all fields should be treated\nas forming a conjunction, e.g., \"service_name='X' AND operation_name='Y' AND ...\".\nAll fields are matched against individual spans, not at the trace level.\nThe returned results contain traces where at least one span matches the conditions.\nWhen num_traces results in fewer traces returned, there is no required ordering.\n\nNote: num_traces should restrict the number of traces returned, but not all backends\ninterpret it this way. For instance, in Cassandra this limits the number of _spans_\nthat match the conditions, and the resulting number of traces can be less.\n\nNote: some storage implementations do not guarantee the correct implementation of all parameters."
Expand Down

0 comments on commit 194a981

Please sign in to comment.