/
aprogrammer
/
reverse-proxy-ms-yarp
Обзор
Документация
Войти
/
aprogrammer
/
reverse-proxy-ms-yarp
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
samples/Prometheus/ReverseProxy.Metrics-Prometheus.Sample/appsettings.json
113 строк
2 KB
Miha Zupan
Fix Prometheus sample route definitions + typos (#1603)
05 мар 2022, 01:06
Не верифицирован
05 мар 2022, 01:06
e83b5e1
Код
Авторство
О чём код?
{ "Logging": { "LogLevel": { "Default": "Information", // "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Information" } }, "AllowedHosts": "*", "Kestrel": { "Endpoints": { "http": { "Url": "http://localhost:5000" }, "https": { "Url": "https://localhost:5001" } } }, "ReverseProxy": { "Routes": { "Mercury": { "ClusterId": "gamma", "Match": { "Path": "/Mercury/{*all}" } }, "Venus": { "ClusterId": "gamma", "Match": { "Path": "/Venus/{*all}" } }, "Earth": { "ClusterId": "delta", "Match": { "Path": "/Earth/{*all}" } }, "Mars": { "ClusterId": "delta", "Match": { "Path": "/Mars/{*all}" } }, "Jupiter": { "ClusterId": "epsilon", "Match": { "Path": "/Jupiter/{*all}" } } }, "Clusters": { "gamma": { "Destinations": { "d0": { "Address": "http://localhost:10000" }, "d2": { "Address": "http://localhost:10002" }, "d4": { "Address": "http://localhost:10004" }, "d6": { "Address": "http://localhost:10006" }, "d8": { "Address": "http://localhost:10008" } } }, "delta": { "Destinations": { "d1": { "Address": "http://localhost:10001" }, "d3": { "Address": "http://localhost:10003" }, "d5": { "Address": "http://localhost:10005" }, "d7": { "Address": "http://localhost:10007" }, "d9": { "Address": "http://localhost:10009" } } }, "epsilon": { "Destinations": { "d0": { "Address": "http://localhost:10000" }, "d1": { "Address": "http://localhost:10001" }, "d2": { "Address": "http://localhost:10002" }, "d3": { "Address": "http://localhost:10003" }, "d4": { "Address": "http://localhost:10004" } } } } } }