Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
b99c4686
Commit
b99c4686
authored
Jul 25, 2016
by
Federico G. Schwindt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish
parent
0a8d3915
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
20 deletions
+22
-20
varnishhist_options.h
bin/varnishhist/varnishhist_options.h
+7
-6
varnishhist_profiles.h
bin/varnishhist/varnishhist_profiles.h
+14
-14
varnishhist.rst
doc/sphinx/reference/varnishhist.rst
+1
-0
No files found.
bin/varnishhist/varnishhist_options.h
View file @
b99c4686
...
...
@@ -32,7 +32,8 @@
#include "vut_options.h"
#define HIS_OPT_g \
VOPT("g:", "[-g <request|vxid>]", "Grouping mode (default: vxid)", \
VOPT("g:", "[-g <request|vxid>]", \
"Grouping mode (default: vxid)", \
"The grouping of the log records. The default is to group" \
" by vxid." \
)
...
...
@@ -42,14 +43,14 @@
"Specified the number of seconds between screen refreshes." \
" Default is 1 second, and can be changed at runtime by" \
" pressing the [0-9] keys (powers of 2 in seconds" \
" or + and - (double/halve the speed)" \
" or + and - (double/halve the speed)
.
" \
)
#define HIS_OPT_P \
VOPT("P:", "[-P <[cb:]tag:field_num:min:max>]", \
"Custom profile definition", \
"
Graph the given custom definition defined as: an optional"
\
" (c)lient or (b)ackend filter (defaults to client), the
" \
"
Graph the given custom definition defined as: an optional"
\
" (c)lient or (b)ackend filter (defaults to client), the" \
" tag we'll look for, and the field number of the value we" \
" are interested in. min and max are the boundaries of the" \
" graph (these are power of ten)." \
...
...
@@ -81,7 +82,7 @@ HIS_OPT_p
VOPT("P:", "[-P " name "]", \
"Predefined " cb " profile", \
"Predefined " cb " profile: " doc \
" (
Field " #field " of " #tag " " prefix " log tags)
" \
" (
field " #field " of " #tag " " prefix " VSL tag).
" \
)
#include "varnishhist_profiles.h"
#undef HIS_NO_PREFIX
...
...
bin/varnishhist/varnishhist_profiles.h
View file @
b99c4686
...
...
@@ -37,9 +37,9 @@ HIS_PROF(
3
,
// field
-
6
,
// hist_low
3
,
// hist_high
"
G
raph the total time from start of request processing"
"
g
raph the total time from start of request processing"
" (first byte received) until ready to deliver the"
" client response
.
"
" client response"
)
HIS_PROF
(
"size"
,
// name
...
...
@@ -49,7 +49,7 @@ HIS_PROF(
5
,
// field
1
,
// hist_low
8
,
// hist_high
"
G
raph the size of responses"
"
g
raph the size of responses"
)
// backend
HIS_PROF
(
...
...
@@ -60,7 +60,7 @@ HIS_PROF(
3
,
// field
-
6
,
// hist_low
3
,
// hist_high
"
G
raph the time from beginning of backend processing"
"
g
raph the time from beginning of backend processing"
" until a backend request is sent completely"
)
HIS_PROF
(
...
...
@@ -71,7 +71,7 @@ HIS_PROF(
3
,
// field
-
6
,
// hist_low
3
,
// hist_high
"
G
raph the time from beginning of backend processing"
"
g
raph the time from beginning of backend processing"
" until the response headers are being received completely"
)
HIS_PROF
(
...
...
@@ -82,7 +82,7 @@ HIS_PROF(
3
,
// field
-
6
,
// hist_low
3
,
// hist_high
"
G
raph the time from beginning of backend processing"
"
g
raph the time from beginning of backend processing"
" until the response body has been received"
)
HIS_PROF
(
...
...
@@ -93,5 +93,5 @@ HIS_PROF(
5
,
// field
1
,
// hist_low
8
,
// hist_high
"
G
raph the backend response body size"
"
g
raph the backend response body size"
)
doc/sphinx/reference/varnishhist.rst
View file @
b99c4686
...
...
@@ -40,6 +40,7 @@ SEE ALSO
* :ref:`varnishncsa(1)`
* :ref:`varnishstat(1)`
* :ref:`varnishtop(1)`
* :ref:`vsl(7)`
HISTORY
=======
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment