/// <summary>
        /// Initializes a new instance of the <see cref="GrpcClientInstrumentation"/> class.
        /// </summary>
        /// <param name="activitySource">ActivitySource adapter instance.</param>
        /// <param name="options">Configuration options for Grpc client instrumentation.</param>
        public GrpcClientInstrumentation(ActivitySourceAdapter activitySource, GrpcClientInstrumentationOptions options = null)
        {
            if (activitySource == null)
            {
                throw new ArgumentNullException(nameof(activitySource));
            }

            this.diagnosticSourceSubscriber = new DiagnosticSourceSubscriber(new GrpcClientDiagnosticListener(activitySource, options), null);
            this.diagnosticSourceSubscriber.Subscribe();
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="GrpcClientInstrumentation"/> class.
 /// </summary>
 /// <param name="options">Configuration options for Grpc client instrumentation.</param>
 public GrpcClientInstrumentation(GrpcClientInstrumentationOptions options = null)
 {
     this.diagnosticSourceSubscriber = new DiagnosticSourceSubscriber(new GrpcClientDiagnosticListener(options), null);
     this.diagnosticSourceSubscriber.Subscribe();
 }