public AzureMonitorTraceExporter(AzureMonitorExporterOptions options)
        {
            this.options = options ?? throw new ArgumentNullException(nameof(options));
            ConnectionString.ConnectionStringParser.GetValues(this.options.ConnectionString, out this.instrumentationKey, out _);

            this.AzureMonitorTransmitter = new AzureMonitorTransmitter(options);
        }
Exemple #2
0
        public AzureMonitorTraceExporter(AzureMonitorExporterOptions options)
        {
            if (options == null)
            {
                throw new ArgumentNullException(nameof(options));
            }

            this.AzureMonitorTransmitter = new AzureMonitorTransmitter(options);
        }