private void AddActivitySource(ActivitySource source)
 {
     if (_nameFilter(source.Name))
     {
         source.AddListener(this);
     }
     else
     {
         source.RemoveListener(this);
     }
 }