Open jes2ica opened 1 year ago
Our service needs to use credentials: “include" to in fecth() but currently withCredentials is hardcoded to false: https://github.com/prometheus/promlens/blob/171530ef26f18e43227a26d1d58d73c48a50fd41/app/src/pages/PromLens.tsx#L157
credentials: “include"
fecth()
withCredentials
false
Can we add a flag similar to defaultPrometheusURL to allow users to configure the withCredentials field?
defaultPrometheusURL
Our service needs to use
credentials: “include"
to infecth()
but currentlywithCredentials
is hardcoded tofalse
: https://github.com/prometheus/promlens/blob/171530ef26f18e43227a26d1d58d73c48a50fd41/app/src/pages/PromLens.tsx#L157Can we add a flag similar to
defaultPrometheusURL
to allow users to configure the withCredentials field?