In the end it came down to not using the right type in the types.db

 * connections is a derive
 * current_connections is the correct gauge