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
bafe8050
Commit
bafe8050
authored
Jan 19, 2015
by
Martin Blix Grydeland
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a 'd' duration presentation type to VSM counters
Mark the two uptime counters as duration
parent
ca16533c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
vsc_f_main.h
include/tbl/vsc_f_main.h
+1
-1
vsc_fields.h
include/tbl/vsc_fields.h
+2
-1
No files found.
include/tbl/vsc_f_main.h
View file @
bafe8050
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
* Globals, not related to traffic
* Globals, not related to traffic
*/
*/
VSC_F
(
uptime
,
uint64_t
,
0
,
'c'
,
'
i
'
,
info
,
VSC_F
(
uptime
,
uint64_t
,
0
,
'c'
,
'
d
'
,
info
,
"Child process uptime"
,
"Child process uptime"
,
"How long the child process has been running."
"How long the child process has been running."
)
)
...
...
include/tbl/vsc_fields.h
View file @
bafe8050
...
@@ -40,6 +40,7 @@
...
@@ -40,6 +40,7 @@
* f - Format: Display format for the field
* f - Format: Display format for the field
* 'b' - Bitmap
* 'b' - Bitmap
* 'i' - Integer
* 'i' - Integer
* 'd' - Duration
* v - Verbosity: Counter verbosity level (see vsc_levels.h)
* v - Verbosity: Counter verbosity level (see vsc_levels.h)
* d - Description: Short description of field (for screen use)
* d - Description: Short description of field (for screen use)
* e - Explanation: Long explanation of field (for doc use)
* e - Explanation: Long explanation of field (for doc use)
...
@@ -64,7 +65,7 @@
...
@@ -64,7 +65,7 @@
#ifdef VSC_DO_MGT
#ifdef VSC_DO_MGT
VSC_F
(
uptime
,
uint64_t
,
0
,
'c'
,
'
i
'
,
info
,
VSC_F
(
uptime
,
uint64_t
,
0
,
'c'
,
'
d
'
,
info
,
"Management process uptime"
,
"Management process uptime"
,
"Uptime in seconds of the management process"
"Uptime in seconds of the management process"
)
)
...
...
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