Skip to content

Commit

Permalink
condition/type: include TraceID, SpanIDs are fields
Browse files Browse the repository at this point in the history
so conditions can be traced and linked as they are handled by various controllers
  • Loading branch information
joelrebel committed Sep 6, 2024
1 parent 573485a commit 4ab54d5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions condition/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@ type Condition struct {
// Client is the user/jwt user that requested the condition.
Client string `json:"client"`

// TraceID enables tracking a Condition and any associated Conditions
TraceID string `json:"traceID"`

// SpanID enables tracking a Condition and any associated Conditions
SpanID string `json:"spanID"`

// ID is the identifier for this condition.
ID uuid.UUID `json:"id"`

Expand Down

0 comments on commit 4ab54d5

Please sign in to comment.