Datadog interview question

Collect metrics for a simple logger