Adds CompoundMetric to combine two Metrics into a single Metric for read-only access to the calculated value.