code: def _set_request_referer_metric(self, request):
          
          if 'HTTP_REFERER' in request.META and request.META['HTTP_REFERER']:
              monitoring.set_custom_metric('request_referer', request.META['HTTP_REFERER'])
docs: Add metric 'request_referer' for http referer.