promlens
promlens copied to clipboard
allow to configure the withCredentials field
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?