added a groovy module to allow reading metrics from a groovy script