first version of the metrics observer