-
I'm trying to set up a monitoring solution for our applications using Grafana, Prometheus and Loki and my idea is to use an Azure App Service (due to integrated SSL) with YARP as the public facing application for this. I initially tried to map different ports to different destinations (worked locally): But then I finally figured out that App Service only exposes/listens to a single port. I'm now trying to manipulate the url paths to get this working: The missing piece now is that I don't want the What I want is: /prometheus and /loki is added to the urls here just for route matching. Other suggestions for routing traffic to the different destinations are welcome. What am I missing here? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
You need to add path remove prefix transform to your routes.
|
Beta Was this translation helpful? Give feedback.
-
I'm trying to proxy a number of API ports on a remote server.
YARP seems to deal with URL mapping, and not port mapping. What am I missing? |
Beta Was this translation helpful? Give feedback.
You need to add path remove prefix transform to your routes.