mirror of
https://github.com/recklessop/Zerto_Exporter.git
synced 2026-07-03 07:53:15 -04:00
94a3822353
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.
21 lines
567 B
YAML
21 lines
567 B
YAML
version: "3.3"
|
|
|
|
services:
|
|
custom-exporter-in-python:
|
|
build: .
|
|
command: python python-node-exporter.py
|
|
ports:
|
|
- "9999:9999"
|
|
environment:
|
|
- VERIFY_SSL=False
|
|
- ZVM_HOST=192.168.50.60
|
|
- ZVM_PORT=443
|
|
- 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"
|