mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-22 06:22:50 +08:00
added tracing to some routes
This commit is contained in:
parent
98133d9473
commit
7c62b55431
@ -74,6 +74,11 @@
|
|||||||
],
|
],
|
||||||
"UpstreamPathTemplate": "/posts",
|
"UpstreamPathTemplate": "/posts",
|
||||||
"UpstreamHttpMethod": [ "Get" ],
|
"UpstreamHttpMethod": [ "Get" ],
|
||||||
|
"HttpHandlerOptions": {
|
||||||
|
"AllowAutoRedirect": true,
|
||||||
|
"UseCookieContainer": true,
|
||||||
|
"UseTracing": true
|
||||||
|
},
|
||||||
"QoSOptions": {
|
"QoSOptions": {
|
||||||
"ExceptionsAllowedBeforeBreaking": 3,
|
"ExceptionsAllowedBeforeBreaking": 3,
|
||||||
"DurationOfBreak": 10,
|
"DurationOfBreak": 10,
|
||||||
@ -92,6 +97,11 @@
|
|||||||
"UpstreamPathTemplate": "/posts/{postId}",
|
"UpstreamPathTemplate": "/posts/{postId}",
|
||||||
"UpstreamHttpMethod": [ "Get" ],
|
"UpstreamHttpMethod": [ "Get" ],
|
||||||
"RequestIdKey": "ReRouteRequestId",
|
"RequestIdKey": "ReRouteRequestId",
|
||||||
|
"HttpHandlerOptions": {
|
||||||
|
"AllowAutoRedirect": true,
|
||||||
|
"UseCookieContainer": true,
|
||||||
|
"UseTracing": true
|
||||||
|
},
|
||||||
"QoSOptions": {
|
"QoSOptions": {
|
||||||
"ExceptionsAllowedBeforeBreaking": 3,
|
"ExceptionsAllowedBeforeBreaking": 3,
|
||||||
"DurationOfBreak": 10,
|
"DurationOfBreak": 10,
|
||||||
@ -109,6 +119,11 @@
|
|||||||
],
|
],
|
||||||
"UpstreamPathTemplate": "/posts/{postId}/comments",
|
"UpstreamPathTemplate": "/posts/{postId}/comments",
|
||||||
"UpstreamHttpMethod": [ "Get" ],
|
"UpstreamHttpMethod": [ "Get" ],
|
||||||
|
"HttpHandlerOptions": {
|
||||||
|
"AllowAutoRedirect": true,
|
||||||
|
"UseCookieContainer": true,
|
||||||
|
"UseTracing": true
|
||||||
|
},
|
||||||
"QoSOptions": {
|
"QoSOptions": {
|
||||||
"ExceptionsAllowedBeforeBreaking": 3,
|
"ExceptionsAllowedBeforeBreaking": 3,
|
||||||
"DurationOfBreak": 10,
|
"DurationOfBreak": 10,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user