trivial examples of the metrics plugin, exposed through the DatastreamTest