| 1 | package App::RedisTop::Component::Slowlog; | ||
| 2 | 2 | ▶ | use base 'App::RedisTop::Component'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 4 | 1 | my $class = shift; | |
| 5 | |||
| 6 | 1 | my $self = bless { | |
| 7 | group => 'slowlog', | ||
| 8 | items => [ | ||
| 9 | { name => 'slowlog', stat_key => 'slowlog_len', }, | ||
| 10 | ], | ||
| 11 | width => 9, | ||
| 12 | unit => 1, | ||
| 13 | total => 1, | ||
| 14 | @_, | ||
| 15 | }, $class; | ||
| 16 | } | ||
| 17 | |||
| 18 | 2 | 1; | |