Skip to content

Commit

Permalink
Add source field to debug information for better resolution informa…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
josephschorr committed Jan 6, 2025
1 parent 99a97bc commit d724c51
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion authzed/api/v1/debug.proto
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,14 @@ message CheckDebugTrace {
// compute this result, expires (if any). This is *not* related to the caching window.
google.protobuf.Timestamp optional_expires_at = 10;

// trace_id is a unique identifier for this trace. This identifier is only guanranteed
// trace_id is a unique identifier for this trace. This identifier is only guaranteed
// to be unique within the same overall Check or CheckBulk operation.
string trace_id = 11;

// source holds the source of the result. It is of the form:
// `<sourcetype>:<sourceid>`, where sourcetype can be, among others:
// `spicedb`, `materialize`, etc.
string source = 12;
}

// CaveatEvalInfo holds information about a caveat expression that was evaluated.
Expand Down

0 comments on commit d724c51

Please sign in to comment.