class_docstr: WSGI middleware to instrument Superset.
  
  To see the instrumentation for a given page, set `PROFILING=True`
  in the config, and append `?_instrument=1` to the page.
class_docstr_tok: ["WSGI","middleware","to","instrument","Superset",".","To","see","the","instrumentation","for","a","given","page",",","set","`","PROFILING=True","`","in","the","config",",","and","append","`","?","_instrument=1","`","to","the","page","."]
code: def __init__(
      self,
      app: Callable[[Any, Any], Any],
      interval: float = 0.0001,
  ):
      self.app = app
      self.interval = interval
  
imports: from typing import Any, Callable
  from unittest import mock
  from werkzeug.wrappers import Request, Response
label_desc: Use image node_id 1 to create a new SupersetProfiler object  with example: obj = SupersetProfiler(app, interval)