prototype and experiment with metricsprovider api