log internal metrics to a drain, if configured