If user misconfigures Prometheus to push data to / (index page), Cortex returns 200 OK, so everything looks fine, but isn't.
Instead of returning 200, Cortex could return HTTP code 405 Method Not Allowed for POST requests. That would help user to find misconfiguration earlier.
If user misconfigures Prometheus to push data to / (index page), Cortex returns 200 OK, so everything looks fine, but isn't.
Instead of returning 200, Cortex could return HTTP code 405 Method Not Allowed for POST requests. That would help user to find misconfiguration earlier.