summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 35e66cd)
raw | patch | inline | side by side (parent: 35e66cd)
author | Marc Fournier <marc.fournier@camptocamp.com> | |
Wed, 16 Jun 2010 16:15:51 +0000 (18:15 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Wed, 16 Jun 2010 16:15:51 +0000 (18:15 +0200) |
src/types.db | patch | blob | history | |
src/varnish.c | patch | blob | history |
diff --git a/src/types.db b/src/types.db
index 143e72fa73458bd1dae521aa1af239b8046abb47..7a962f0be74408ce6e1d7cfca9115420802112d8 100644 (file)
--- a/src/types.db
+++ b/src/types.db
total_bytes value:DERIVE:0:U
total_operations value:DERIVE:0:U
total_requests value:DERIVE:0:U
+total_sessions value:DERIVE:0:U
total_threads value:DERIVE:0:U
total_time_in_ms value:DERIVE:0:U
total_values value:DERIVE:0:U
diff --git a/src/varnish.c b/src/varnish.c
index 724b4faa024df5b3ecfd8b8e006fd1b432314fd3..956d3e7394855c29bab1c0e6642aed7807de1171 100644 (file)
--- a/src/varnish.c
+++ b/src/varnish.c
@@ -336,7 +336,7 @@ static void varnish_monitor(const user_config_t *conf, struct varnish_stats *VSL
if(conf->collect_totals)
{
/* Total Sessions */
- varnish_submit_derive (conf->instance, "total_counters", "sessions", VSL_stats->s_sess);
+ varnish_submit_derive (conf->instance, "total_sessions", "sessions", VSL_stats->s_sess);
/* Total Requests */
varnish_submit_derive (conf->instance, "total_requests", "requests", VSL_stats->s_req);
/* Total pipe */