private static async Task <Dictionary <string, Snapshot> > GetSnapshots(ILogger logger, FabricClient client)
        {
            var(endpointInstances, nodeAdresses) = await client.GetEndpointInstances(logger);

            var snapshots = EndpointInstancesToEnvoyTransormations.CreateEnvoySnapshots(nodeAdresses, endpointInstances);

            return(snapshots);
        }