1
0
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:
Rajat Vig
2026-02-02 18:59:18 +05:30
committed by GitHub
parent b23508bec2
commit c111fdfd3c
11 changed files with 147 additions and 3 deletions

View File

@@ -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": {