Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Varnish plugin: fixed missing dataset error.
  • Loading branch information
Marc Fournier committed Jun 16, 2010
1 parent 35e66cd commit eda2991
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/types.db
Expand Up @@ -159,6 +159,7 @@ time_offset seconds:GAUGE:-1000000:1000000
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
Expand Down
2 changes: 1 addition & 1 deletion src/varnish.c
Expand Up @@ -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 */
Expand Down

0 comments on commit eda2991

Please sign in to comment.