G2Engine Statistics

Statistics

stats

stats() returns a JSON document that provides basic statistics on requests made through the G2 object. It returns things such as the number of records loaded, the duration of processing time, and the number of retries made.

g2_engine.stats(response_bytearray)
Parameters
  • response_bytearray: (bytearray) Object to store the output of the method.
Click to expand `stats()` example