mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
docker_: use "exclude" filter for all graphs
This commit is contained in:
parent
64d5d8af08
commit
a3ae1af155
1 changed files with 1 additions and 6 deletions
|
@ -140,11 +140,6 @@ class ClientWrapper:
|
||||||
def api(self):
|
def api(self):
|
||||||
return self.client.api
|
return self.client.api
|
||||||
|
|
||||||
@cached_property
|
|
||||||
@sorted_by_creation_date
|
|
||||||
def containers(self):
|
|
||||||
return self.client.containers.list()
|
|
||||||
|
|
||||||
@cached_property
|
@cached_property
|
||||||
@sorted_by_creation_date
|
@sorted_by_creation_date
|
||||||
def all_containers(self):
|
def all_containers(self):
|
||||||
|
@ -278,7 +273,7 @@ def get_container_stats(container, q):
|
||||||
def parallel_container_stats(client):
|
def parallel_container_stats(client):
|
||||||
proc_list = []
|
proc_list = []
|
||||||
stats = {}
|
stats = {}
|
||||||
for container in client.containers:
|
for container in client.all_containers:
|
||||||
q = Queue()
|
q = Queue()
|
||||||
p = Process(target=get_container_stats, args=(container, q))
|
p = Process(target=get_container_stats, args=(container, q))
|
||||||
proc_list.append({'proc': p, 'queue': q, 'container': container})
|
proc_list.append({'proc': p, 'queue': q, 'container': container})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue