Skip to content

Commit

Permalink
[prometheus] Fix of properties prometheus remote write (#10802)
Browse files Browse the repository at this point in the history
* [prometheus] Fix of properties prometheus remote write

Signed-off-by: alexey.komyakov <[email protected]>

---------

Signed-off-by: alexey.komyakov <[email protected]>
  • Loading branch information
scaps1 authored Nov 25, 2024
1 parent c9d7496 commit 6b1e08f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ spec:
description: Пользовательский токен, передаваемый в качестве заголовка `X-Auth-Token`.
headers:
description: |
HTTP-заголовки, которые будут добавлены к запросу. Допустимые заголовки: X-Scope-OrgID
HTTP-заголовки, добавляемые к запросу.
properties:
X-Scope-OrgID:
description: |
Заголовок `X-Scope-OrgID`, указывающий ID тенанта.
writeRelabelConfigs:
description: |
Параметры для relabel'инга данных для отправки.
Expand Down
10 changes: 6 additions & 4 deletions modules/300-prometheus/crds/prometheusremotewrite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,14 @@ spec:
description: Custom token sent as a value of the X-Auth-Token header.
headers:
description: |
Custom HTTP headers to be sent along with each remote write request. Allowed headers: X-scope-OrgID.
HTTP headers to include in the request.
type: object
patternProperties:
"^X-Scope-OrgID$":
properties:
X-Scope-OrgID:
description: |
The `X-Scope-OrgID` header specifying the tenant ID.
type: string
additionalProperties: false
required: ["X-Scope-OrgID"]
writeRelabelConfigs:
description: |
The list of remote write relabel configurations.
Expand Down

0 comments on commit 6b1e08f

Please sign in to comment.