Skip to content

Commit d843a31

Browse files
authored
tracing-sampling shuld be tracing-sampling-rate (#6350)
1 parent ebd4cfe commit d843a31

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/eventing/observability/accessing-traces.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ metadata:
5050
data:
5151
tracing-protocol: "grpc"
5252
tracing-endpoint: "http://jaeger-collector.observability:4318/v1/traces"
53-
tracing-sampling: "0.1"
53+
tracing-sampling-rate: "0.1"
5454
```
5555
5656
### Configuration options
@@ -62,7 +62,7 @@ You can configure your `config-observability` with following options:
6262
* `tracing-endpoint`: Specifies the URL to the backend where you want to send the traces.
6363
Must be set if backend is set to `grpc` or `http/protobuf`.
6464

65-
* `tracing-sampling`: Specifies the sampling rate. Valid values are decimals from `0` to `1`
65+
* `tracing-sampling-rate`: Specifies the sampling rate. Valid values are decimals from `0` to `1`
6666
(interpreted as a float64), which indicate the probability that any given request is sampled.
6767
An example value is `0.5`, which gives each request a 50% sampling probablity.
6868

@@ -138,4 +138,4 @@ This is the same screenshot without the annotations.
138138

139139
If you are interested, here is the [raw JSON](data/2e571e6948ff981283825bb2bf51c87d.json) of the trace.
140140

141-
-->
141+
-->

docs/serving/observability/accessing-traces.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ metadata:
3333
data:
3434
tracing-protocol: "grpc"
3535
tracing-endpoint: "http://jaeger-collector.observability:4318/v1/traces"
36-
tracing-sampling: "0.1"
36+
tracing-sampling-rate: "0.1"
3737
```
3838
3939
### Configuration options
@@ -45,7 +45,7 @@ You can configure your `config-observability` with following options:
4545
* `tracing-endpoint`: Specifies the URL to the backend where you want to send the traces.
4646
Must be set if backend is set to `grpc` or `http/protobuf`.
4747

48-
* `tracing-sampling`: Specifies the sampling rate. Valid values are decimals from `0` to `1`
48+
* `tracing-sampling-rate`: Specifies the sampling rate. Valid values are decimals from `0` to `1`
4949
(interpreted as a float64), which indicate the probability that any given request is sampled.
5050
An example value is `0.5`, which gives each request a 50% sampling probablity.
5151

0 commit comments

Comments
 (0)