diff --git a/src/modules/mod_status.c b/src/modules/mod_status.c index 8f1aec3..38ae353 100644 --- a/src/modules/mod_status.c +++ b/src/modules/mod_status.c @@ -429,7 +429,8 @@ static void status_collect_cb(gpointer cbdata, gpointer fdata, GPtrArray *result G_GUINT64_CONSTANT(0), G_GUINT64_CONSTANT(0), G_GUINT64_CONSTANT(0), G_GUINT64_CONSTANT(0), G_GUINT64_CONSTANT(0), G_GUINT64_CONSTANT(0), G_GUINT64_CONSTANT(0), G_GUINT64_CONSTANT(0), G_GUINT64_CONSTANT(0), G_GUINT64_CONSTANT(0), G_GUINT64_CONSTANT(0), - 0, 0, G_GUINT64_CONSTANT(0), 0, 0 + 0, 0, {G_GUINT64_CONSTANT(0), G_GUINT64_CONSTANT(0), G_GUINT64_CONSTANT(0), G_GUINT64_CONSTANT(0)}, + G_GUINT64_CONSTANT(0), 0, 0 }; /* clear context so it doesn't get cleaned up anymore */ @@ -460,6 +461,11 @@ static void status_collect_cb(gpointer cbdata, gpointer fdata, GPtrArray *result totals.active_cons_cum += sd->stats.active_cons_cum; totals.active_cons_5s += sd->stats.active_cons_5s; + totals.peak.bytes_out += sd->stats.peak.bytes_out; + totals.peak.bytes_in += sd->stats.peak.bytes_in; + totals.peak.requests += sd->stats.peak.requests; + totals.peak.active_cons += sd->stats.peak.active_cons; + connection_count[0] += sd->connection_count[0]; connection_count[1] += sd->connection_count[1]; connection_count[2] += sd->connection_count[2]; @@ -644,6 +650,38 @@ static GString *status_info_full(liVRequest *vr, liPlugin *p, gboolean short_inf ); g_string_append_len(html, CONST_STR_LEN(" \n")); + + /* worker information, peak values */ + g_string_append_len(html, CONST_STR_LEN("