Correlation: Code to correlate two metrics

This change includes some code to correlate two metrics (based on equality of certain keys) and a concrete example of how to do this with some frontend metrics.