plugins/mod_smacks.lua
changeset 12276 fe0f5c47fda3
parent 12141 4e61aaa4e9b2
child 12475 a3b12eeedd4b
child 12526 1671cb924002
equal deleted inserted replaced
12275:f31bb79f51d7 12276:fe0f5c47fda3
    36 local resumption_expired = module:measure("session_resumption_expired", "counter");
    36 local resumption_expired = module:measure("session_resumption_expired", "counter");
    37 local resumption_age = module:metric(
    37 local resumption_age = module:metric(
    38 	"histogram",
    38 	"histogram",
    39 	"resumption_age", "seconds", "time the session had been hibernating at the time of a resumption",
    39 	"resumption_age", "seconds", "time the session had been hibernating at the time of a resumption",
    40 	{},
    40 	{},
    41 	{buckets = { 0, 1, 2, 5, 10, 20, 50, 100, 200, 500 }}
    41 	{buckets = { 0, 1, 2, 5, 10, 30, 60, 120, 300, 600 }}
    42 ):with_labels();
    42 ):with_labels();
    43 local sessions_expired = module:measure("sessions_expired", "counter");
    43 local sessions_expired = module:measure("sessions_expired", "counter");
    44 local sessions_started = module:measure("sessions_started", "counter");
    44 local sessions_started = module:measure("sessions_started", "counter");
    45 
    45 
    46 
    46