Skip to content

Commit 50fc3b8

Browse files
authored
Updating prometheus.json body_size_limit type to a string, can be 100MB, etc. (#4087)
1 parent c1ceb32 commit 50fc3b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/schemas/json/prometheus.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@
863863
},
864864
"body_size_limit": {
865865
"description": "An uncompressed response body larger than this many bytes will cause the scrape to fail. 0 means no limit. Example: 100MB.",
866-
"type": ["integer", "null"],
866+
"type": ["string", "null"],
867867
"default": 0
868868
},
869869
"sample_limit": {
@@ -1296,7 +1296,7 @@
12961296
},
12971297
"body_size_limit": {
12981298
"description": "An uncompressed response body larger than this many bytes will cause the scrape to fail. 0 means no limit. Example: 100MB.",
1299-
"type": ["integer", "null"],
1299+
"type": ["string", "null"],
13001300
"default": 0
13011301
},
13021302
"sample_limit": {

0 commit comments

Comments
 (0)