code changes for Astyanax Metrics