-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Currently we are running prometheus and pushgateway on a specific port, and we are also forwarding the content using the listen address of am + /prometheus
. This requires us to specify the web-address as a config to either components. The downside is that the origin then uses the new path in the prometheus web server. Which can be confusing for a user since they need to forward their metrics to localhost:9091/pushgateway/metrics
which can be confusing.
Pro's of proxying:
- We are able to swap out the implementation, but explorer would just rely on the proxied endpoint
- Have a single port for all components
- No CORS issues when any component is running on the same port as explorer
Con's:
- Rewrites the path even for the locally running component.
- Need to explain that the user has to use a different path for pushing metrics.
Metadata
Metadata
Assignees
Labels
No labels