Skip to content

Commit

Permalink
Merge pull request etcd-io#668 from etcd-io/loglevel
Browse files Browse the repository at this point in the history
Fix references to debug flag in 3.6 and FAQ.
  • Loading branch information
spzala authored Apr 20, 2023
2 parents bf1127f + 978e497 commit 5bd0af5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion content/en/docs/v3.5/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ To recover from the low space quota alarm:

This is gRPC-side warning when a server receives a TCP RST flag with client-side streams being prematurely closed. For example, a client closes its connection, while gRPC server has not yet processed all HTTP/2 frames in the TCP queue. Some data may have been lost in server side, but it is ok so long as client connection has already been closed.

Only [old versions of gRPC](https://github.com/grpc/grpc-go/issues/1362) log this. etcd [>=v3.2.13 by default log this with DEBUG level](https://github.com/etcd-io/etcd/pull/9080), thus only visible with `--debug` flag enabled.
Only [old versions of gRPC](https://github.com/grpc/grpc-go/issues/1362) log this. etcd [>=v3.2.13 by default log this with DEBUG level](https://github.com/etcd-io/etcd/pull/9080), thus only visible with `--log-level=debug` flag enabled.

## Performance

Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/v3.6/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ To recover from the low space quota alarm:

This is gRPC-side warning when a server receives a TCP RST flag with client-side streams being prematurely closed. For example, a client closes its connection, while gRPC server has not yet processed all HTTP/2 frames in the TCP queue. Some data may have been lost in server side, but it is ok so long as client connection has already been closed.

Only [old versions of gRPC](https://github.com/grpc/grpc-go/issues/1362) log this. etcd [>=v3.2.13 by default log this with DEBUG level](https://github.com/etcd-io/etcd/pull/9080), thus only visible with `--debug` flag enabled.
Only [old versions of gRPC](https://github.com/grpc/grpc-go/issues/1362) log this. etcd [>=v3.2.13 by default log this with DEBUG level](https://github.com/etcd-io/etcd/pull/9080), thus only visible with `--log-level=debug` flag enabled.

## Performance

Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/v3.6/op-guide/monitoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Each etcd server provides local monitoring information on its client port throug

## Debug endpoint

If `--debug` is set, the etcd server exports debugging information on its client port under the `/debug` path. Take care when setting `--debug`, since there will be degraded performance and verbose logging.
If `--log-level=debug` is set, the etcd server exports debugging information on its client port under the `/debug` path. Take care when setting `--log-level=debug`, since there will be degraded performance and verbose logging.

The `/debug/pprof` endpoint is the standard go runtime profiling endpoint. This can be used to profile CPU, heap, mutex, and goroutine utilization. For example, here `go tool pprof` gets the top 10 functions where etcd spends its time:

Expand Down

0 comments on commit 5bd0af5

Please sign in to comment.