add peak SPS for last 5 minutes

This commit is contained in:
Ken Rice
2013-07-19 22:40:05 -05:00
parent dcd15ff1c0
commit 39dfa5e422
8 changed files with 37 additions and 6 deletions
+1
View File
@@ -239,6 +239,7 @@ struct switch_runtime {
int32_t sps;
int32_t sps_last;
int32_t sps_peak;
int32_t sps_peak_fivemin;
switch_log_level_t hard_log_level;
char *mailer_app;
char *mailer_app_args;
+2 -1
View File
@@ -1862,7 +1862,8 @@ typedef enum {
SCSC_SQL,
SCSC_API_EXPANSION,
SCSC_RECOVER,
SCSC_SPS_PEAK
SCSC_SPS_PEAK,
SCSC_SPS_PEAK_FIVEMIN
} switch_session_ctl_t;
typedef enum {