Added request parameters type and key to /metrics

Added request parameters ``type`` and ``key`` to ``/metrics``.