···
credentials = mkOpt types.str ''
126
-
Sets the credentials. It is mutually exclusive with `credentials_file`.
126
+
Sets the credentials. It is mutually exclusive with <literal>credentials_file</literal>.
credentials_file = mkOpt types.str ''
Sets the credentials to the credentials read from the configured file.
131
-
It is mutually exclusive with `credentials`.
131
+
It is mutually exclusive with <literal>credentials</literal>.
135
-
Optional `Authorization` header configuration.
135
+
Optional <literal>Authorization</literal> header configuration.
oauth2 = mkOpt promtypes.oauth2 ''
···
client_secret_file = mkOpt types.str ''
232
-
Read the client secret from a file. It is mutually exclusive with `client_secret`.
232
+
Read the client secret from a file. It is mutually exclusive with <literal>client_secret</literal>.
scopes = mkOpt (types.listOf types.str) ''
···
basic_auth = mkOpt promTypes.basic_auth ''
318
-
Sets the `Authorization` header on every scrape request with the
318
+
Sets the <literal>Authorization</literal> header on every scrape request with the
configured username and password.
password and password_file are mutually exclusive.
bearer_token = mkOpt types.str ''
324
-
Sets the `Authorization` header on every scrape request with
324
+
Sets the <literal>Authorization</literal> header on every scrape request with
the configured bearer token. It is mutually exclusive with
<option>bearer_token_file</option>.
bearer_token_file = mkOpt types.str ''
330
-
Sets the `Authorization` header on every scrape request with
330
+
Sets the <literal>Authorization</literal> header on every scrape request with
the bearer token read from the configured file. It is mutually
exclusive with <option>bearer_token</option>.
···
port = mkDefOpt types.int "80" ''
626
-
The port to scrape metrics from, when `role` is nodes, and for discovered
626
+
The port to scrape metrics from, when <literal>role</literal> is nodes, and for discovered
tasks and services that don't have published ports.
···
secret_key = mkOpt types.str ''
Secret key to use when listing targets. https://console.scaleway.com/project/credentials
1208
-
It is mutually exclusive with `secret_key_file`.
1208
+
It is mutually exclusive with <literal>secret_key_file</literal>.
secret_key_file = mkOpt types.str ''
Sets the secret key with the credentials read from the configured file.
1213
-
It is mutually exclusive with `secret_key`.
1213
+
It is mutually exclusive with <literal>secret_key</literal>.
···
basic_auth = mkOpt promTypes.basic_auth ''
1443
-
Sets the `Authorization` header on every remote write request with the
1443
+
Sets the <literal>Authorization</literal> header on every remote write request with the
configured username and password.
password and password_file are mutually exclusive.
bearer_token = mkOpt types.str ''
1448
-
Sets the `Authorization` header on every remote write request with
1449
-
the configured bearer token. It is mutually exclusive with `bearer_token_file`.
1448
+
Sets the <literal>Authorization</literal> header on every remote write request with
1449
+
the configured bearer token. It is mutually exclusive with <literal>bearer_token_file</literal>.
bearer_token_file = mkOpt types.str ''
1452
-
Sets the `Authorization` header on every remote write request with the bearer token
1453
-
read from the configured file. It is mutually exclusive with `bearer_token`.
1452
+
Sets the <literal>Authorization</literal> header on every remote write request with the bearer token
1453
+
read from the configured file. It is mutually exclusive with <literal>bearer_token</literal>.
tls_config = mkOpt promTypes.tls_config ''
Configures the remote write request's TLS settings.
···
the local storage should have complete data for.
basic_auth = mkOpt promTypes.basic_auth ''
1534
-
Sets the `Authorization` header on every remote read request with the
1534
+
Sets the <literal>Authorization</literal> header on every remote read request with the
configured username and password.
password and password_file are mutually exclusive.
bearer_token = mkOpt types.str ''
1539
-
Sets the `Authorization` header on every remote read request with
1540
-
the configured bearer token. It is mutually exclusive with `bearer_token_file`.
1539
+
Sets the <literal>Authorization</literal> header on every remote read request with
1540
+
the configured bearer token. It is mutually exclusive with <literal>bearer_token_file</literal>.
bearer_token_file = mkOpt types.str ''
1543
-
Sets the `Authorization` header on every remote read request with the bearer token
1544
-
read from the configured file. It is mutually exclusive with `bearer_token`.
1543
+
Sets the <literal>Authorization</literal> header on every remote read request with the bearer token
1544
+
read from the configured file. It is mutually exclusive with <literal>bearer_token</literal>.
tls_config = mkOpt promTypes.tls_config ''
Configures the remote read request's TLS settings.