def __init__(self, hostname='localhost', port=8126, filters=None): self._pid = None self._traces = None self._services = None self._worker = None self._filters = filters self.api = api.API(hostname, port)
def __init__(self, hostname='localhost', port=8126, filters=None, priority_sampler=None): self._pid = None self._traces = None self._worker = None self._filters = filters self._priority_sampler = priority_sampler priority_sampling = priority_sampler is not None self.api = api.API(hostname, port, priority_sampling=priority_sampling)
def __init__(self, hostname='localhost', port=7777): self._pid = None self._traces = None self._services = None self._worker = None self.api = api.API(hostname, port)