code: def enable_grpc_metrics_collection():
      os.environ["RAY_enable_grpc_metrics_collection_for"] = "gcs"
      yield
      os.environ.pop("RAY_enable_grpc_metrics_collection_for", None)
  
imports: import logging
  import os
  import sys
  import requests
  import numpy
  import time
  import copy
  import pytest
  from collections import defaultdict
  from multiprocessing import Process
  from unittest.mock import MagicMock
  from google.protobuf import text_format
  import psutil
  import ray
  from mock import patch
  from ray._private import ray_constants
  from ray._private.metrics_agent import fix_grpc_metric
  from ray._private.test_utils import fetch_prometheus, format_web_url, wait_for_condition, wait_until_server_available
  from ray.dashboard.modules.reporter.reporter_agent import ReporterAgent
  from ray.dashboard.tests.conftest import *
  from ray.dashboard.utils import Bunch
  from ray.core.generated.metrics_pb2 import Metric
label_desc: Use image node_id 4 for calling a global function with example usage: enable_grpc_metrics_collection() without return types