code: def fixture_prometheus_scrape():
      """fixture_prometheus_scrape"""
  
      timestamp = int(round(time.time() * 1000))
      args = "coredns_dns_request_count_total"
  
      def func(q):
          v = (
              tfio.experimental.IODataset.stream()
              .from_prometheus_scrape(
                  q, "http://localhost:9153/metrics"
              )
              .take(5)
          )
          v = v.map(
              lambda v: tf.stack(
                  [
                      v.value,
                      tf.cast(v.timestamp > timestamp, tf.float64),
                  ]
              )
          )
          return v
  
      expected = [[6.0, 1.0] for _ in range(5)]
  
      return args, func, expected
  
imports: import os
  import sys
  import time
  import shutil
  import tempfile
  import numpy
  import pytest
  import tensorflow
  import tensorflow_io
label_desc: Use image node_id 11 for calling a global function with example usage: fixture_prometheus_scrape() and returns: args,  func,  expected, v