From dab90be6fb6c8c6feefa60b92387cdca60110449 Mon Sep 17 00:00:00 2001 From: Artem Nedoshepa Date: Thu, 19 Sep 2024 14:08:20 -0700 Subject: [PATCH] Update prometheus.json body_size_limit is a string, can be 100MB, etc. --- src/schemas/json/prometheus.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/schemas/json/prometheus.json b/src/schemas/json/prometheus.json index 6221547b615..9656e156740 100644 --- a/src/schemas/json/prometheus.json +++ b/src/schemas/json/prometheus.json @@ -863,7 +863,7 @@ }, "body_size_limit": { "description": "An uncompressed response body larger than this many bytes will cause the scrape to fail. 0 means no limit. Example: 100MB.", - "type": ["integer", "null"], + "type": ["string", "null"], "default": 0 }, "sample_limit": { @@ -1296,7 +1296,7 @@ }, "body_size_limit": { "description": "An uncompressed response body larger than this many bytes will cause the scrape to fail. 0 means no limit. Example: 100MB.", - "type": ["integer", "null"], + "type": ["string", "null"], "default": 0 }, "sample_limit": {