// Copyright The OpenTelemetry Authors // SPDX-License-Identifier: Apache-2.0 // Make sure to include GRPC exporter first because otherwise Abseil may create // ambiguity with `nostd::variant`. See issue: // https://github.com/open-telemetry/opentelemetry-cpp/issues/880 #include "opentelemetry/exporters/otlp/otlp_grpc_exporter.h" #include "opentelemetry/exporters/otlp/otlp_grpc_exporter_factory.h" OPENTELEMETRY_BEGIN_NAMESPACE namespace exporter { namespace otlp { std::unique_ptr OtlpGrpcExporterFactory::Create() { OtlpGrpcExporterOptions options; return Create(options); } std::unique_ptr OtlpGrpcExporterFactory::Create( const OtlpGrpcExporterOptions &options) { std::unique_ptr exporter(new OtlpGrpcExporter(options)); return exporter; } } // namespace otlp } // namespace exporter OPENTELEMETRY_END_NAMESPACE