The Grafana Faro Web SDK, part of the Grafana Faro project, is a highly configurable web SDK for real user monitoring (RUM) that instruments browser frontend applications to capture observability signals. Frontend telemetry can then be correlated with backend and infrastructure data for full-stack observability.
We propose enhancing the Grafana Faro Receiver component by adding basic authentication or HTTP header options specifically for the sourcemaps block. Currently, the sourcemaps should be publicly accessible. Only alternative option to protect sourcemaps is to use location block to put the sourcemap in filesystem path, however this method requires additional effort
Proposed solution
Introduce configuration options within the sourcemaps block to:
Enable basic authentication (username/password) for accessing sourcemaps.
Allow custom HTTP headers to be sent along with sourcemap requests.
Description
We propose enhancing the Grafana Faro Receiver component by adding basic authentication or HTTP header options specifically for the sourcemaps block. Currently, the sourcemaps should be publicly accessible. Only alternative option to protect sourcemaps is to use location block to put the sourcemap in filesystem path, however this method requires additional effort
Proposed solution
Introduce configuration options within the sourcemaps block to: