Skip to content

Commit

Permalink
docs: remove non-configurable traceparent http header (#428)
Browse files Browse the repository at this point in the history
  • Loading branch information
stijnmoreels authored Jan 10, 2023
1 parent 0649970 commit 09e3f8e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions docs/preview/03-Features/correlation.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,6 @@ builder.Services.AddHttpCorrelation(options =>

// The header that will contain the operation ID in the HTTP response (default: X-Operation-Id).
options.Operation.HeaderName = "X-MyOperation-Id";

// Configuration on operation parent ID request header (`traceparent`).
// ------------------------------------------------------------------
// The header that will contain the operation parent ID in the HTTP request (default: traceparent).
options.UpstreamService.HeaderName = "x-request-id";
});
```

Expand Down
6 changes: 0 additions & 6 deletions docs/versioned_docs/version-v1.7.0/03-Features/correlation.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,6 @@ builder.Services.AddHttpCorrelation(options =>

// The header that will contain the operation ID in the HTTP response (default: X-Operation-Id).
options.Operation.HeaderName = "X-MyOperation-Id";

// Configuration on operation parent ID request header (`traceparent`).
// ------------------------------------------------------------------
// The header that will contain the operation parent ID in the HTTP request (default: traceparent).
options.UpstreamService.HeaderName = "x-request-id";
});
```

Expand Down

0 comments on commit 09e3f8e

Please sign in to comment.