public void Dispose()
 {
     _environment?.Dispose();
     _apmAgent?.Dispose();
 }
 public void Dispose() => _environment?.Dispose();