Add apache2 to the services we collect for memory

Change-Id: Ic6daef5b4df50ce43c6782542cb54c1958e54655
This commit is contained in:
Dan Smith 2022-05-26 09:31:36 -07:00
parent 0e08e9b48c
commit e85c68e60f

View File

@ -54,7 +54,8 @@ def get_service_stats(service):
def get_services_stats(): def get_services_stats():
services = [os.path.basename(s) for s in services = [os.path.basename(s) for s in
glob.glob('/etc/systemd/system/devstack@*.service')] glob.glob('/etc/systemd/system/devstack@*.service')] + \
['apache2.service']
return [dict(service=service, **get_service_stats(service)) return [dict(service=service, **get_service_stats(service))
for service in services] for service in services]