Skip to content

Commit

Permalink
Remove note about "from_context" not working. (#5405)
Browse files Browse the repository at this point in the history
The underlying issue has been fixed,
and this comment no longer applies.

Co-authored-by: Clayton Cornell <[email protected]>
  • Loading branch information
ptodev and clayton-cornell authored Nov 9, 2023
1 parent 1caf600 commit d719e7d
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,6 @@ The `value` attribute sets the value of the header directly.
Alternatively, `from_context` can be used to dynamically retrieve the header
value from request metadata.

> **NOTE**: It is not possible to use `from_context` to get the header value if
> [the `otelcol.processor.batch` component][otelcol.processor.batch] is used to
> batch before data is sent to the component referencing
> `otelcol.auth.headers`.
[otelcol.processor.batch]: {{< relref "./otelcol.processor.batch.md" >}}

## Exported fields

The following fields are exported and can be referenced by other components:
Expand Down

0 comments on commit d719e7d

Please sign in to comment.