First steps. At least it builds and packages as plugin.
Getting one metric works, to get the date just look at the date of the measure.
Now trying with two metrics.