Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: EI-2320 - Introduce otel context headers field #32

Merged
merged 2 commits into from
Sep 13, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion proto/iotics/api/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,12 @@ enum Scope {
// RequestInfo is a request parameter used to provide additional information about the request.
// It will also be included in the response.
message RequestInfo {
// startTime isthe start timestamp of the request
// Start timestamp of the request, from the perspective of the host (server). Values supplied by the client will be
// ignored
google.protobuf.Timestamp startTime = 1;
// OpenTelemetry headers for tracing support (W3C Trace Context / Baggage). If no valid context is provided by the
// client, the host (server) will initialise one.
map <string, string> otelCtx = 2;
vtermanis marked this conversation as resolved.
Show resolved Hide resolved
}

// Headers describes the common headers applicable to all the API requests
Expand Down
Loading