Skip to content

Commit

Permalink
feat: add trace_id to Fleet Engine headers
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 590330946
  • Loading branch information
Google APIs authored and Copybara-Service committed Dec 12, 2023
1 parent e1d4dfa commit c1bc9cb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions google/maps/fleetengine/delivery/v1/header.proto
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,8 @@ message DeliveryRequestHeader {
// Android API level of the calling SDK, only applicable for the Android SDKs.
// Field value example: `23`.
int32 android_api_level = 11;

// Optional ID that can be provided for logging purposes in order to identify
// the request.
string trace_id = 12;
}
4 changes: 4 additions & 0 deletions google/maps/fleetengine/v1/header.proto
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,8 @@ message RequestHeader {
// Android API level of the calling SDK, only applicable for the Android SDKs.
// Field value example: `23`.
int32 android_api_level = 11;

// Optional ID that can be provided for logging purposes in order to identify
// the request.
string trace_id = 12;
}

0 comments on commit c1bc9cb

Please sign in to comment.