Example #1
0
        public ProducerTrace(string serviceName, string rpc)
        {
            if (Trace.Current != null)
            {
                Trace = Trace.Current.Child();
            }

            Trace.Record(Annotations.ProducerStart());
            Trace.Record(Annotations.ServiceName(serviceName));
            Trace.Record(Annotations.Rpc(rpc));
        }