zapier / prom-aggregation-gateway

An aggregating push gateway for Prometheus
Mozilla Public License 2.0
116 stars 26 forks source link

CORS issue #90

Open UmiNeywitz opened 1 month ago

UmiNeywitz commented 1 month ago

Hi, I'm trying to collect some metrics from react application, but When metrics are sent to the gateway there is a CORS request with OPTIONS method that return 404. I tried to set --cors to different values but it seems like this is not the issue. Can I make /metrics endpoint to respond to OPTIONS request with correct Access-Control-Allow-Origin header?

Thanks