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