Fixes docs of Consul Debug - Adds info about Since Flag (#19056)

fix docs
This commit is contained in:
Ashesh Vidyut 2023-10-05 11:05:18 +05:30 committed by GitHub
parent 344f4638bb
commit af9a486fdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -64,6 +64,9 @@ all targets for 5 minutes.
- `-archive` - Optional, if the tool show archive the directory of data into a - `-archive` - Optional, if the tool show archive the directory of data into a
compressed tar file. Defaults to true. compressed tar file. Defaults to true.
- `-since` - Optional, can be used to capture information since a particular time
in the past
#### API Options #### API Options
@include 'http_api_options_client.mdx' @include 'http_api_options_client.mdx'
@ -125,7 +128,7 @@ $ consul debug -interval=15s -duration=1m
To capture information since a particular time in past `-since` flag To capture information since a particular time in past `-since` flag
can be used. can be used.
```shell-sesion ```shell-session
$ consul debug -since 1h $ consul debug -since 1h
... ...
``` ```