promlens icon indicating copy to clipboard operation
promlens copied to clipboard

allow to configure the withCredentials field

Open jes2ica opened this issue 2 years ago • 0 comments

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

Can we add a flag similar to defaultPrometheusURL to allow users to configure the withCredentials field?

jes2ica avatar Apr 14 '23 17:04 jes2ica