From f526713a5235e13bc953a0cd307a79b28dd6815f Mon Sep 17 00:00:00 2001 From: Patrick J McNerthney Date: Fri, 26 Mar 2021 13:55:18 -1000 Subject: [PATCH] Use a POST with a form body when querying Prometheus. Fixes: https://github.com/lensapp/lens/issues/1352 Signed-off-by: Patrick J McNerthney --- src/main/cluster.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/cluster.ts b/src/main/cluster.ts index 19f0945c3e..eee88cd6db 100644 --- a/src/main/cluster.ts +++ b/src/main/cluster.ts @@ -518,7 +518,8 @@ export class Cluster implements ClusterModel, ClusterState { timeout: 0, resolveWithFullResponse: false, json: true, - qs: queryParams, + method: "POST", + form: queryParams, }); }