anjuna-metrics-proxy
anjuna-metrics-proxy --enclave-name <enclave-name> [OPTIONS...]
A proxy that exposes metrics, such as average CPU and memory usage, from the AWS Nitro Enclave to the parent instance. This is especially useful in the context of Kubernetes to automatically scale workloads.
Metrics are exposed on the port specified by --exporter-port.
The metrics HTTP endpoint is /metrics.
anjuna-metrics-proxy must be run prior to starting an enclave so that metrics are exported.
In order to clean up resources when you terminate an enclave,
kill the anjuna-metrics-proxy after terminating an enclave.
| When restarting an enclave,
it is important to stop and start anjuna-metrics-proxyas described above. | 
| The enclave may fail to detect the anjuna-metrics-proxyif you runrun-enclaveimmediately
after runninganjuna-metrics-proxydue to a known race condition. For now,
you can add a three-second delay between the two commands usingsleep 3.
This behavior will be fixed in a future release. |