Skip to content

Commit

Permalink
fix a typo: disabled -> disable (#1843)
Browse files Browse the repository at this point in the history
  • Loading branch information
rootsongjc committed Aug 29, 2023
1 parent de2befb commit d53dc1f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/latest/design/accesslog.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ metadata:
spec:
telemetry:
accessLog:
disabled: true
disable: true
```

2. The following is an example with text format access log.
Expand Down
4 changes: 2 additions & 2 deletions docs/latest/user/proxy-observability.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Verify logs from loki:
curl -s "http://$LOKI_IP:3100/loki/api/v1/query_range" --data-urlencode "query={job=\"fluentbit\"}" | jq '.data.result[0].values'
```

If you want to disable it, set the `telemetry.accesslog.disabled` to `true` in the `EnvoyProxy` CRD.
If you want to disable it, set the `telemetry.accesslog.disable` to `true` in the `EnvoyProxy` CRD.

```shell
kubectl apply -f https://raw.githubusercontent.com/envoyproxy/gateway/latest/examples/kubernetes/accesslog/disable-accesslog.yaml
Expand Down Expand Up @@ -130,4 +130,4 @@ curl -s "http://$TEMPO_IP:3100/api/search" --data-urlencode "q={ component=envoy

```shell
curl -s "http://$TEMPO_IP:3100/api/traces/<trace_id>" | jq
```
```
2 changes: 1 addition & 1 deletion docs/v0.5.0/design/accesslog.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ metadata:
spec:
telemetry:
accessLog:
disabled: true
disable: true
```

2. The following is an example with text format access log.
Expand Down
4 changes: 2 additions & 2 deletions docs/v0.5.0/user/proxy-observability.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Verify logs from loki:
curl -s "http://$LOKI_IP:3100/loki/api/v1/query_range" --data-urlencode "query={job=\"fluentbit\"}" | jq '.data.result[0].values'
```

If you want to disable it, set the `telemetry.accesslog.disabled` to `true` in the `EnvoyProxy` CRD.
If you want to disable it, set the `telemetry.accesslog.disable` to `true` in the `EnvoyProxy` CRD.

```shell
kubectl apply -f https://raw.githubusercontent.com/envoyproxy/gateway/latest/examples/kubernetes/accesslog/disable-accesslog.yaml
Expand Down Expand Up @@ -130,4 +130,4 @@ curl -s "http://$TEMPO_IP:3100/api/search" --data-urlencode "q={ component=envoy

```shell
curl -s "http://$TEMPO_IP:3100/api/traces/<trace_id>" | jq
```
```
2 changes: 1 addition & 1 deletion examples/kubernetes/accesslog/disable-accesslog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ metadata:
spec:
telemetry:
accessLog:
disabled: true
disable: true

0 comments on commit d53dc1f

Please sign in to comment.