keep-alive related metric

Resolves #400