protected BaseOtlpGrpcExportClient(OtlpExporterOptions options)
        {
            Guard.ThrowIfNull(options, nameof(options));
            Guard.ThrowIfInvalidTimeout(options.TimeoutMilliseconds, nameof(options.TimeoutMilliseconds));

            ExporterClientValidation.EnsureUnencryptedSupportIsEnabled(options);

            this.Options = options;
            this.Headers = options.GetMetadataFromHeaders();
        }
        protected BaseOtlpGrpcExportClient(OtlpExporterOptions options)
        {
            Guard.ThrowIfNull(options);
            Guard.ThrowIfInvalidTimeout(options.TimeoutMilliseconds);

            ExporterClientValidation.EnsureUnencryptedSupportIsEnabled(options);

            this.Endpoint            = new UriBuilder(options.Endpoint).Uri;
            this.Headers             = options.GetMetadataFromHeaders();
            this.TimeoutMilliseconds = options.TimeoutMilliseconds;
        }