Add a sample covering static method support with EL expression to resolve Metric name