Skip to content

Commit

Permalink
Merge pull request #925 from uber/tChannelCallStatus
Browse files Browse the repository at this point in the history
Add request status in tchannel event capture
  • Loading branch information
shivam-srivastava28 authored Feb 26, 2024
2 parents 482d3f4 + 5577253 commit 923df99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runtime/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ type ThriftOutgoingEvent struct {

RspHeaders map[string]string
Rsp RWTStruct

Success bool
}

func (tce *ThriftOutgoingEvent) Name() string {
Expand Down
1 change: 1 addition & 0 deletions runtime/tchannel_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ func (c *TChannelClient) call(
Req: req,
RspHeaders: call.resHeaders,
Rsp: resp,
Success: call.success,
}

if ec := GetEventContainer(ctx); ec != nil {
Expand Down

0 comments on commit 923df99

Please sign in to comment.