Skip to content

Commit 8a20b01

Browse files
updated parameter to the used token instead of MAILCOW_EXPORTER_TOKEN (#891)
Signed-off-by: Sebastian Schubert <basti@schubert.digital>
1 parent 5766ff8 commit 8a20b01

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/third_party/prometheus_exporter/third_party-prometheus_exporter.de.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ scrape_configs:
4343
params:
4444
MAILCOW_EXPORTER_HOST: [ 'mail.example.com' ]
4545
MAILCOW_EXPORTER_API_KEY: [ 'YOUR-APIKEY-HERE' ]
46-
MAILCOW_EXPORTER_TOKEN: [ 'YOUR-APIKEY-HERE' ] # if you MAILCOW_EXPORTER_TOKEN_DISABLE=false
46+
token: [ 'YOUR-APIKEY-HERE' ] # if you MAILCOW_EXPORTER_TOKEN_DISABLE=false
4747
```
4848
4949
Es unterstützt auch einen optionalen `scheme` URL Parameter, der standardmäßig auf `https` gesetzt ist. Falls Sie auf die API ohne TLS-Verschlüsselung zugreifen möchten, setzen Sie ihn auf `http`.

docs/third_party/prometheus_exporter/third_party-prometheus_exporter.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ scrape_configs:
4646
params:
4747
MAILCOW_EXPORTER_HOST: [ 'mail.example.com' ]
4848
MAILCOW_EXPORTER_API_KEY: [ 'YOUR-APIKEY-HERE' ]
49-
MAILCOW_EXPORTER_TOKEN: [ 'YOUR-APIKEY-HERE' ] # if you MAILCOW_EXPORTER_TOKEN_DISABLE=false
49+
token: [ 'YOUR-APIKEY-HERE' ] # if you MAILCOW_EXPORTER_TOKEN_DISABLE=false
5050
```
5151
5252
It also supports an optional `scheme` URL parameter, that defaults to `https`.

0 commit comments

Comments
 (0)