Ejemplo n.º 1
0
        void IProbeSite.Probe(ProbeContext context)
        {
            ProbeContext scope = context.CreateScope("host");
            scope.Set(new
            {
                Type = "RabbitMQ",
                _hostSettings.Host,
                _hostSettings.Port,
                _hostSettings.VirtualHost,
                _hostSettings.Username,
                Password = new string('*', _hostSettings.Password.Length),
                _hostSettings.Heartbeat,
                _hostSettings.Ssl
            });

            if (_hostSettings.Ssl)
            {
                scope.Set(new
                {
                    _hostSettings.SslServerName
                });
            }

            _connectionCache.Probe(scope);
        }
Ejemplo n.º 2
0
 void IProbeSite.Probe(ProbeContext context)
 {
     context.Set(new
     {
         Policy = "None",
     });
 }
 void IProbeSite.Probe(ProbeContext context)
 {
     var scope = context.CreateScope("transport");
     scope.Add("type", "RabbitMQ");
     scope.Set(_settings);
     scope.Add("bindings", _bindings);
 }
 void IProbeSite.Probe(ProbeContext context)
 {
     ProbeContext scope = context.CreateScope("except");
     scope.Set(new
     {
         ExceptionTypes = _exceptionTypes.Select(TypeMetadataCache.GetShortName).ToArray(),
     });
 }
Ejemplo n.º 5
0
 void IProbeSite.Probe(ProbeContext context)
 {
     context.Set(new
     {
         State = "halfOpen",
         AttempCount = _attemptCount,
     });
 }
Ejemplo n.º 6
0
        void IProbeSite.Probe(ProbeContext context)
        {
            ProbeContext scope = context.CreateScope("receiveEndpoint");

            _receiveTransport.Probe(scope);

            _receivePipe.Probe(scope);
        }
Ejemplo n.º 7
0
 void IProbeSite.Probe(ProbeContext context)
 {
     context.Set(new
     {
         State = "closed",
         AttemptCount = _attemptCount,
         SuccessCount = _successCount,
         FailureCount = _failureCount,
     });
 }
Ejemplo n.º 8
0
        void IProbeSite.Probe(ProbeContext context)
        {
            context.Set(new
            {
                Policy = "Immediate",
                Limit = _retryLimit,
            });

            _filter.Probe(context);
        }
Ejemplo n.º 9
0
 void IProbeSite.Probe(ProbeContext context)
 {
     var scope = context.CreateScope("host");
     scope.Set(new
     {
         Type = "Azure Service Bus",
         _settings.ServiceUri,
         _settings.OperationTimeout
     });
 }
Ejemplo n.º 10
0
        void IProbeSite.Probe(ProbeContext context)
        {
            context.Set(new
            {
                Policy = "Interval",
                Limit = _intervals.Length,
                Intervals = _intervals,
            });

            _filter.Probe(context);
        }
Ejemplo n.º 11
0
 void IProbeSite.Probe(ProbeContext context)
 {
     var scope = context.CreateScope("transport");
     scope.Set(new
     {
         Type = "Azure Service Bus",
         _settings.Path,
         _settings.PrefetchCount,
         _settings.MaxConcurrentCalls
     });
 }
Ejemplo n.º 12
0
 public void Probe(ProbeContext context)
 {
     ConnectionScope connectionScope = _scope;
     if (connectionScope != null)
     {
         context.Set(new
         {
             Connected = true
         });
     }
 }
Ejemplo n.º 13
0
 public void Probe(ProbeContext context)
 {
     var clientScope = _scope;
     if (clientScope != null)
     {
         context.Set(new
         {
             Connected = true
         });
     }
 }
Ejemplo n.º 14
0
 void IProbeSite.Probe(ProbeContext context)
 {
     TimeSpan timeout = _timeoutEnumerator.Current;
     context.Set(new
     {
         State = "open",
         ExceptionInfo = new FaultExceptionInfo(_exception),
         Timeout = timeout,
         Remaining = timeout - _elapsed.Elapsed
     });
 }
Ejemplo n.º 15
0
        void IProbeSite.Probe(ProbeContext context)
        {
            context.Set(new
            {
                Policy = "Incremental",
                Limit = _retryLimit,
                Initial = _initialInterval,
                Increment = _intervalIncrement,
            });

            _filter.Probe(context);
        }
Ejemplo n.º 16
0
        void IProbeSite.Probe(ProbeContext context)
        {
            context.Set(new
            {
                Policy = "Exponential",
                Limit = _retryLimit,
                Min = _minInterval,
                Max = _maxInterval,
                Low = _lowInterval,
                High = _highInterval,
            });

            _filter.Probe(context);
        }
 void IProbeSite.Probe(ProbeContext context)
 {
     ProbeContext scope = context.CreateScope("transport");
     scope.Set(new
     {
         Type = "Azure Service Bus",
         _settings.QueueDescription.Path,
         _settings.PrefetchCount,
         _settings.MaxConcurrentCalls,
         _settings.QueueDescription,
         Subscriptions = _subscriptionSettings.Select(subscription => new
         {
             subscription.Topic.Path
         }).ToArray()
     });
 }
Ejemplo n.º 18
0
        void IProbeSite.Probe(ProbeContext context)
        {
            ProbeContext scope = context.CreateScope("host");
            scope.Set(new
            {
                Type = "In Memory"
            });

            foreach (var transport in _transports)
            {
                var transportScope = scope.CreateScope("queue");
                transportScope.Set(new
                {
                    Name = transport.Key
                });
            }
        }
Ejemplo n.º 19
0
 public void Probe(ProbeContext context)
 {
     context.Add("defaultKeyId", _defaultKeyId);
     context.Add("paddingMode", _paddingMode.ToString());
 }
 public void Probe(ProbeContext context)
 {
     context.Add("provider", "dependencyInjection");
 }
 void IProbeSite.Probe(ProbeContext context)
 {
     ProbeContext scope = context.CreateScope("deserializers");
     foreach (IMessageDeserializer deserializer in _deserializers.Values)
         deserializer.Probe(scope);
 }
Ejemplo n.º 22
0
 void IProbeSite.Probe(ProbeContext context)
 {
     _pipe.Probe(context);
 }
 void IProbeSite.Probe(ProbeContext context)
 {
     ProbeContext scope = context.CreateScope("encrypted");
     scope.Add("contentType", EncryptedMessageSerializer.EncryptedContentType.MediaType);
     _provider.Probe(scope);
 }
Ejemplo n.º 24
0
 void IProbeSite.Probe(ProbeContext context)
 {
     _retryPolicy.Probe(context);
 }
 void IProbeSite.Probe(ProbeContext context)
 {
     var scope = context.CreateScope("json");
     scope.Add("contentType", ProtocolBuffersMessageSerializer.ProtocolBuffersContentType.MediaType);
 }
        void IProbeSite.Probe(ProbeContext context)
        {
            var scope = context.CreateScope("json");

            scope.Add("contentType", contentType.MediaType);
        }
Ejemplo n.º 27
0
 public void Probe(ProbeContext context)
 {
     context.CreateScope("");
 }
Ejemplo n.º 28
0
 public void Probe(ProbeContext context)
 {
     context.CreateFilterScope("updateCache");
 }
Ejemplo n.º 29
0
 public void Probe(ProbeContext context)
 {
     var scope = context.CreateFilterScope("cache");
 }
Ejemplo n.º 30
0
 public void Probe(ProbeContext context)
 {
     var scope = context.CreateFilterScope("checkInventory");
 }
Ejemplo n.º 31
0
 void IProbeSite.Probe(ProbeContext context)
 {
     context.CreateScope("all");
 }
Ejemplo n.º 32
0
 void IProbeSite.Probe(ProbeContext context)
 {
 }
Ejemplo n.º 33
0
 void IProbeSite.Probe(ProbeContext context)
 {
     _filter.Probe(context);
 }
        void IProbeSite.Probe(ProbeContext context)
        {
            var scope = context.CreateFilterScope("observer");

            scope.Add("observerType", _observerType);
        }
Ejemplo n.º 35
0
        void IProbeSite.Probe(ProbeContext context)
        {
            var scope = context.CreateFilterScope("profile");

            scope.Add("trivialThreshold", _trivialThreshold);
        }
Ejemplo n.º 36
0
 public void Probe(ProbeContext context)
 {
     context.Add("provider", "structureMap");
 }
 public void Probe(ProbeContext context)
 {
     context.Add("provider", "windsor");
 }
Ejemplo n.º 38
0
 void IProbeSite.Probe(ProbeContext context)
 {
     context.Add("provider", "autofac");
     context.Add("scopeTag", _name);
 }
Ejemplo n.º 39
0
 public virtual void Probe(ProbeContext context)
 {
     context.Add("name", _name);
 }
Ejemplo n.º 40
0
 void IProbeSite.Probe(ProbeContext context)
 {
     _pipe?.Probe(context);
     _sendPipe?.Probe(context);
 }
Ejemplo n.º 41
0
        void IProbeSite.Probe(ProbeContext context)
        {
            var scope = context.CreateFilterScope("messageReceiver");

            _messageReceiver.Probe(scope);
        }
Ejemplo n.º 42
0
 public void Probe(ProbeContext context)
 {
     context.CreateScope("clearRequest");
 }
 public void Probe(ProbeContext context)
 {
     _wrapped.Probe(context);
 }
Ejemplo n.º 44
0
 void IProbeSite.Probe(ProbeContext context)
 {
     ProbeContext scope = context.CreateScope("xml");
     scope.Add("contentType", XmlMessageSerializer.XmlContentType.MediaType);
 }
 void IProbeSite.Probe(ProbeContext context)
 {
     ProbeContext scope = context.CreateScope("binary");
     scope.Add("contentType", BinaryMessageSerializer.BinaryContentType.MediaType);
 }
Ejemplo n.º 46
0
 public void Probe(ProbeContext context)
 {
     _filter.Value.Probe(context);
 }
Ejemplo n.º 47
0
 public void Probe(ProbeContext context)
 {
     context.CreateFilterScope("binderSource");
 }
Ejemplo n.º 48
0
 public void Probe(ProbeContext context)
 {
     context.CreateFilterScope("SetCorrelationId");
 }
Ejemplo n.º 49
0
 public void Probe(ProbeContext context)
 {
 }
 public void Probe(ProbeContext context)
 {
     throw new NotImplementedException();
 }
Ejemplo n.º 51
0
 void IProbeSite.Probe(ProbeContext context)
 {
     context.CreateConsumerFactoryScope <TConsumer>("objectFactory");
 }
Ejemplo n.º 52
0
 void IProbeSite.Probe(ProbeContext context)
 {
     context.CreateFilterScope("windsorMessageScope");
 }
Ejemplo n.º 53
0
 public void Probe(ProbeContext context)
 {
     var scope = context.CreateScope("transport");
     scope.Add("type", "http");
     scope.Set(_host.Settings);
 }
Ejemplo n.º 54
0
 void IProbeSite.Probe(ProbeContext context)
 {
     context.CreateFilterScope("asyncDelegate");
 }
 void IProbeSite.Probe(ProbeContext context)
 {
 }
Ejemplo n.º 56
0
 void IProbeSite.Probe(ProbeContext context)
 {
     context.CreateScope("filter");
 }
 void IProbeSite.Probe(ProbeContext context)
 {
     ProbeContext scope = context.CreateScope("bson");
     scope.Add("contentType", BsonMessageSerializer.BsonContentType.MediaType);
 }
Ejemplo n.º 58
0
 void IProbeSite.Probe(ProbeContext context)
 {
     context.CreateFilterScope("moveFault");
 }
Ejemplo n.º 59
0
 void IProbeSite.Probe(ProbeContext context)
 {
     _next.Probe(context);
 }
Ejemplo n.º 60
0
 public void Probe(ProbeContext context)
 {
     _pipe.Probe(context);
 }