Skip to content

Commit

Permalink
Update docs/sources/reference/components/loki/loki.source.api.md
Browse files Browse the repository at this point in the history
Co-authored-by: Clayton Cornell <[email protected]>
  • Loading branch information
QuentinBisson and clayton-cornell authored Oct 2, 2024
1 parent fc8e8c5 commit c3b4524
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/sources/reference/components/loki/loki.source.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,11 @@ loki.source.api "loki_push_api" {

### Technical details

`loki.source.api` filters out all labels that start with `__` like `__tenant_id__`.
`loki.source.api` filters out all labels that start with `__`, for example, `__tenant_id__`.

If you need to be able to set the tenant id, you should either make sure the `X-Scope-OrgID` header or use the `loki.process` component.
If you need to be able to set the tenant ID, you must either make sure the `X-Scope-OrgID` header or use the [`loki.process`][loki.process] component.

[loki.process]: ../loki.process/

<!-- START GENERATED COMPATIBLE COMPONENTS -->

Expand Down

0 comments on commit c3b4524

Please sign in to comment.