Example #1
0
 void IProbeSite.Probe(ProbeContext context)
 {
     _connections.All(pipe =>
     {
         pipe.Probe(context);
         return(true);
     });
 }
        public void Probe(ProbeContext context)
        {
            var scope = context.CreateScope("exchange");

            scope.Add("name", Name);
            scope.Add("type", "fanOut");

            var sinkScope = scope.CreateScope("sinks");

            _sinks.All(s =>
            {
                s.Probe(sinkScope);

                return(true);
            });
        }
Example #3
0
        public void Probe(ProbeContext context)
        {
            _sinks.All(s =>
            {
                s.Probe(context);

                return(true);
            });

            foreach (KeyValuePair <string, TopicNode> node in _children)
            {
                var nodeScope = context.CreateScope(node.Key);

                node.Value.Probe(nodeScope);
            }
        }