title: How can I send traces to Jaeger from C#?
body: <p>I'm trying to use the <a href="https://github.com/jaegertracing/jaeger-client-csharp" rel="nofollow noreferrer">Jaeger</a> package to send traces to Jaeger from a C# app.</p>
  <p>There are no minimal examples in the jaeger-client-csharp documentation, but from what I read, I think this should work.</p>
  <pre class="lang-cs prettyprint-override"><code>using Jaeger;
  using Jaeger.Samplers;
  
  namespace jaegertest
  {
      class Program
      {
          static void Main(string[] args)
          {
              var tracer = new Tracer.Builder(&quot;my-service&quot;)
                  .WithSampler(new ConstSampler(true))
                  .Build();
  
              using (var scope = tracer.BuildSpan(&quot;foo&quot;).StartActive(true))
              {
                  System.Threading.Thread.Sleep(1000);
              }
          }
      }
  }
  </code></pre>
  <p>I have jaeger-all-in-one.exe running but when I run this code there's no sign of any new traces. I've tried manually configuring samplers, senders, reporters, etc. but nothing I tried worked. What do I need to add to get my traces to appear in Jaeger?</p>