Replace AlwaysSample with ProbabilitySampler in router (#1348)

This commit is contained in:
Chris Camel
2019-10-30 20:05:55 +08:00
committed by Ta-Ching Chen
parent a151f89eec
commit bbaf1b0c2d
7 changed files with 25 additions and 6 deletions
+1
View File
@@ -70,6 +70,7 @@ Parameter | Description | Default
`router.svcAddressUpdateTimeout` | The length of update lock expiry time for router to get a service URL returns from executor | `30`
`router.svcAnnotations` | Annotations for router service | None
`router.useEncodedPath` | For router to match encoded path. If true, "/foo%2Fbar" will match the path "/{var}"; Otherwise, it will match the path "/foo/bar". | `false`
`router.traceSamplingRate` | Uniformly sample traces with the given probabilistic sampling rate | `0.5`
`router.roundTrip.disableKeepAlive` | Disable transport keep-alive for fast switching function version | `true`
`router.roundTrip.keepAliveTime` | The keep-alive period for an active network connection to function pod | `30s`
`router.roundTrip.timeout` | HTTP transport request timeout | `50ms`