implement diagnostic ping endpoint