[collector.http3] Sub-Sectionurl - server address, in the form "https://host[:port][/path][?query]"
[fe80::1]?param1=value1¶m2=value2), but it’s recommended to specify them in query (see the notes there)method - HTTP request method, a.k.a. verb, for retrieving data
"GET""GET", "PATCH", "POST", "PUT"query - HTTP query parameters
url, but it’s recommended to specify them here:
query override values in url, if they have the same parameter namesquery are allowed to contain dynamic expressions which are evaluated during runtime (although this is not implemented yet), while url must be staticThe TOML file format supports multiple representation options for key-value pairs:
[collector.http3]
# ...
query = { param1 = "value1", param2 = "value2" }
[collector.http3]
# ...
query = {
param1 = "value1",
param2 = "value2",
}
[collector.http3]
# ...
query.param1 = "value1"
query.param2 = "value2"
[collector.http3]
# ...
[collector.http3.query]
param1 = "value1"
param2 = "value2"
headers - HTTP request headers
The TOML file format does not allow multiple instances of the same field, so if you want to specify a header with multiple values, specify them as a single comma-separated string:
accept = "text/plain, application/json, application/xml"
The TOML file format supports multiple representation options for key-value pairs:
[collector.http3]
# ...
headers = { header1 = "value1", header2 = "value2" }
[collector.http3]
# ...
headers = {
header1 = "value1",
header2 = "value2",
}
[collector.http3]
# ...
headers.header1 = "value1"
headers.header2 = "value2"
[collector.http3]
# ...
[collector.http3.headers]
header1 = "value1"
header2 = "value2"
body or body_file - HTTP request body
method = "GET""config/body.json" or "/path/body.xml") - when it’s large, complex, or sensitivemax_body_size - maximum byte size of a server response’s whole body
10485760 (10,485,760 bytes = 10 MiB)104857600 (100 MiB)0 and negative integers are normalized to the defaultmax_headers_size - maximum byte size of a server response’s headers (as a whole, not each key-value pair)
1048576 (1,048,576 bytes = 1 MiB)104857600 (100 MiB)0 and negative integers are normalized to the defaulttimeout - maximum amount of time for each HTTP client request to complete
"5s" (5 seconds)m (minutes), and s (seconds)"0" and negative values (e.g., "-1s") = no client-side timeoutformat - discard all HTTP response headers, pass only the HTTP response body
"json" (an array if the body contains multiple objects, otherwise an object)"json_array" (always an array, even when there are fewer than 2 objects)"ndjson" (NDJSON, a.k.a. JSONL)"raw" (opaque byte payload)[collector.http3.tls] Sub-Section[collector.http3.retries] Sub-Section