Skip to content

Commit 54441d0

Browse files
committed
Add source field to debug information for better resolution information
1 parent 70e63e3 commit 54441d0

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

authzed/api/v1/debug.proto

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,14 @@ message CheckDebugTrace {
8585
// compute this result, expires (if any). This is *not* related to the caching window.
8686
google.protobuf.Timestamp optional_expires_at = 10;
8787

88-
// trace_id is a unique identifier for this trace. This identifier is only guanranteed
88+
// trace_id is a unique identifier for this trace. This identifier is only guaranteed
8989
// to be unique within the same overall Check or CheckBulk operation.
9090
string trace_id = 11;
91+
92+
// source holds the source of the result. It is of the form:
93+
// `<sourcetype>:<sourceid>`, where sourcetype can be, among others:
94+
// `spicedb`, `materialize`, etc.
95+
string source = 12;
9196
}
9297

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

0 commit comments

Comments
 (0)