PushGateway - HTTP Error 413: Request Entity Too Large

47 views
Skip to first unread message

Michael Black

unread,
Aug 10, 2020, 12:12:25 PM8/10/20
to Prometheus Users
I have a lot of metrics I need to push to the Gateway but it appears I've exceeded the capacity of the Request Entity. Is there a way to increase the  allowable request size?

Bjoern Rabenstein

unread,
Aug 11, 2020, 8:23:08 AM8/11/20
to Michael Black, Prometheus Users
First of all, you are not using the Pushgateway (PGW) for what it is
designed for.

In fact, the PGW doesn't impose any limitation on the request size,
simply because its inteded usecases never get anywhere close to a
request size that would require limitation. Therefore, there is no
setting for the request size, either.

I strongly assume that the 413 HTTP error is coming from something in
between, most likely nginx.

--
Björn Rabenstein
[PGP-ID] 0x851C3DA17D748D03
[email] bjo...@rabenste.in
Reply all
Reply to author
Forward
0 new messages