add connection stats
parent
738a3208b9
commit
05a4947b4a
|
|
@ -900,6 +900,21 @@ static void php_fdfs_tracker_list_groups_impl(INTERNAL_FUNCTION_PARAMETERS, \
|
||||||
|
|
||||||
pStorageStat = &(pStorage->stat);
|
pStorageStat = &(pStorage->stat);
|
||||||
|
|
||||||
|
add_assoc_long_ex(server_info_array, \
|
||||||
|
"connection.alloc_count", \
|
||||||
|
sizeof("connection.alloc_count"), \
|
||||||
|
pStorageStat->connection.alloc_count);
|
||||||
|
|
||||||
|
add_assoc_long_ex(server_info_array, \
|
||||||
|
"connection.current_count", \
|
||||||
|
sizeof("connection.current_count"), \
|
||||||
|
pStorageStat->connection.current_count);
|
||||||
|
|
||||||
|
add_assoc_long_ex(server_info_array, \
|
||||||
|
"connection.max_count", \
|
||||||
|
sizeof("connection.max_count"), \
|
||||||
|
pStorageStat->connection.max_count);
|
||||||
|
|
||||||
add_assoc_long_ex(server_info_array, \
|
add_assoc_long_ex(server_info_array, \
|
||||||
"total_upload_count", \
|
"total_upload_count", \
|
||||||
sizeof("total_upload_count"), \
|
sizeof("total_upload_count"), \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue