mirror of
https://github.com/coreos/prometheus-operator.git
synced 2026-02-05 06:45:27 +01:00
Merge pull request #8348 from rajatvig/feat/bodysizelimit-sc
scrapeconfig: add bodySizeLimit field
This commit is contained in:
@@ -819,6 +819,11 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"bodySizeLimit": {
|
||||
"description": "bodySizeLimit defines a per-scrape limit on the size of the uncompressed\nresponse body that will be accepted by Prometheus. Targets responding with\na body larger than this many bytes will cause the scrape to fail.\n\nIt requires Prometheus >= v2.28.0.",
|
||||
"pattern": "(^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$",
|
||||
"type": "string"
|
||||
},
|
||||
"consulSDConfigs": {
|
||||
"description": "consulSDConfigs defines a list of Consul service discovery configurations.",
|
||||
"items": {
|
||||
|
||||
Reference in New Issue
Block a user