multi-site readiness and VRA CPU and Memory

Added Site ID and Site Name to every metric. Moved all VRA metrics to a separate thread and started collecting VRA CPU and Memory usage from vCenter API.
This commit is contained in:
2023-03-23 08:01:21 -04:00
parent fbc68dc794
commit 94a3822353
4 changed files with 250 additions and 75 deletions
+3
View File
@@ -13,5 +13,8 @@ services:
- CLIENT_ID=api-script
- CLIENT_SECRET=js51tDM8oappYUGRJBhF7bcsedNoHA5j
- LOGLEVEL=INFO #Valid settings are CRITICAL, ERROR, WARNING, INFO, DEBUG
- VCENTER_HOST=192.168.50.50
- VCENTER_USER=administrator@vsphere.local
- VCENTER_PASSWORD=password
volumes:
- "./app:/usr/src/app:rw"