Esempio n. 1
0
        private static Scope CreateScope(object batch, object message)
        {
            var multiplexer = StackExchangeRedisHelper.GetMultiplexer(batch);
            var config      = StackExchangeRedisHelper.GetConfiguration(multiplexer);
            var hostAndPort = StackExchangeRedisHelper.GetHostAndPort(config);
            var cmd         = StackExchangeRedisHelper.GetRawCommand(batch, message);

            return(RedisHelper.CreateScope(Tracer.Instance, IntegrationName, RedisAssembly, hostAndPort.Item1, hostAndPort.Item2, cmd));
        }