private List<ApplicationInstanceReference> getAllInstances(RestApi.RequestContext context) {
        return serviceMonitor.getAllApplicationInstanceReferences().stream().sorted().toList();
    }
Provides a read-only API for looking into the current state as seen by the Orchestrator.
This API can be unstable and is not meant to be used programmatically.

@author andreer
@author Oyvind Bakksjo
@author bjorncs
orchestrator/src/main/java/com/yahoo/vespa/orchestrator/resources/InstanceRequestHandler.java