Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Provide POST endpoint for query+query_range #3072

Closed
grobie opened this Issue Aug 14, 2017 · 1 comment

Comments

Projects
None yet
3 participants
@grobie
Copy link
Member

grobie commented Aug 14, 2017

What did you do?

When using Grafana, template variables and the All option, the generated regex label matcher can become quite large. If the expression uses the same regex matcher multiple times (like in something{instance=~"$instance"} + something_else{instance=~"$instance"}) the generated expression can easily hit the URL size limit.

What do you want to see?

Sending these expressions in the body of a POST request would avoid the URL size limitations.

hashmap added a commit to hashmap/prometheus that referenced this issue Oct 20, 2017

Provide POST endpoint for query+query_range
This PR fixes prometheus#3072 by providing POST endpoints for `query` and `query_range`.
POST request must be made with `Content-Type: application/x-www-form-urlencoded` header.

@grobie grobie closed this in #3322 Nov 11, 2017

grobie added a commit that referenced this issue Nov 11, 2017

Provide POST endpoint for query+query_range (#3322)
This PR fixes #3072 by providing POST endpoints for `query` and `query_range`.
POST request must be made with `Content-Type: application/x-www-form-urlencoded` header.
@lock

This comment has been minimized.

Copy link

lock bot commented Mar 23, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 23, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.