Example #1
0
        public static IReporter GetReporter(ReporterType type, ReporterOptions options)
        {
            var defaultReporter = new RemoteReporter.Builder()
                                  .WithSender(new UdpSender(options.RemoteHost, options.RemotePort, 0))
                                  .Build();

            switch (type)
            {
            case ReporterType.Remote:
                return(defaultReporter);

            default:
                return(defaultReporter);
            }
        }
Example #2
0
 public JaegerOptions()
 {
     SamplerType     = SamplerType.Const;
     ReporterOptions = new ReporterOptions();
 }