So in Ruby I'd do something like:

```ruby
event.grep { |ev| ev.is_metric? }.each { |ev| client.send_line(form_line(ev, metric, path_prefix)) }
```

What I want is to run send-line (I understand it can generate side-effects so thought `doseq` would be appropriate) for each field of the event that is a metric.