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 -1
View File
@@ -54,7 +54,7 @@ spec:
- name: ROUTER_SVC_ADDRESS_UPDATE_TIMEOUT
value: {{ .Values.router.svcAddressUpdateTimeout | default "30s" | quote }}
- name: TRACING_SAMPLING_RATE
value: {{ .Values.traceSamplingRate | default "0.5" | quote }}
value: {{ .Values.router.traceSamplingRate | default "0.5" | quote }}
- name: USE_ENCODED_PATH
value: {{ .Values.router.useEncodedPath | default false | quote }}
- name: DEBUG_ENV
+3
View File
@@ -85,6 +85,9 @@ router:
## Max retries times of a failed request
maxRetries: 10
## Sample with a rate per time window (traces/second)
traceSamplingRate: 0.5
## Persist data to a persistent volume.
persistence:
## If true, fission will create/use a Persistent Volume Claim