| |
Methods defined here:
- __init__(self, monitors, authToken)
- Initializes a collection
:param monitors: list of known monitor url addresses
:param authToken: authorization token
:type monitors: list
:type authToken: str
- get(self)
- Loads last measurements from all known monitors
:return: returns
:rtype: dict
- loadFromSingleMonitor(self, measurements, monitorUrl, rawMeasurements)
- Loads last measurements from single monitor
:param measurements: all measurements given until now
:param monitorUrl: url of the monitor
:param rawMeasurements: raw measurements from monitor
:type measurements: dict
:type monitorUrl: str
:type rawMeasurements: dict
:return: returns all measurements including given from this one monitor
:rtype: dict
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|