Skip to content

Commit 3533960

Browse files
committed
doc: document the "duration_longer" filter
1 parent 345e099 commit 3533960

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

doc/index.rst

+4
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,10 @@ The following filters are available:
283283
- :samp:`date=YYYY-MM-DD` is a shortcut which shows records on a
284284
certain date (according to the client's time zone)
285285
- :samp:`today` is a shortcut which shows records only of today
286+
- :samp:`duration_longer=DURATION` shows only records with a duration
287+
longer than the specified value. The value is a positive integer
288+
with one of the units ``us``, ``ms``, ``s``, ``m``, ``h``, ``d``.
289+
Example: :samp:`duration_longer=500ms`.
286290
- :samp:`status=STATUS[:END]` shows only records with the specified
287291
status. If "END" is also given, then this is the open end of a
288292
range. Example: :samp:`status=500:600` shows all server errors.

src/client/Main.cxx

+1
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,7 @@ try {
619619
" [uri-prefix=VALUE]\n"
620620
" [generator=VALUE]\n"
621621
" [since=ISO8601] [until=ISO8601] [date=YYYY-MM-DD] [today]\n"
622+
" [duration_longer=DURATION]\n"
622623
" [window=COUNT[@SKIP]]\n"
623624
" stats\n"
624625
" inject <RAWFILE\n"

0 commit comments

Comments
 (0)