// @bun
import {
  require_index_node_http,
  require_src,
  require_src1 as require_src2
} from "./chunk-e4dsy4g1.js";
import {
  __esm,
  __toESM
} from "./chunk-hhsxm2yr.js";

// node_modules/.bun/@opentelemetry+exporter-trace-otlp-http@0.215.0+e40b0dfdd726a224/node_modules/@opentelemetry/exporter-trace-otlp-http/build/esm/platform/node/OTLPTraceExporter.js
var import_otlp_exporter_base, import_otlp_transformer, import_node_http, OTLPTraceExporter;
var init_OTLPTraceExporter = __esm(() => {
  import_otlp_exporter_base = __toESM(require_src(), 1);
  import_otlp_transformer = __toESM(require_src2(), 1);
  import_node_http = __toESM(require_index_node_http(), 1);
  OTLPTraceExporter = class OTLPTraceExporter extends import_otlp_exporter_base.OTLPExporterBase {
    constructor(config = {}) {
      super(import_node_http.createOtlpHttpExportDelegate(import_node_http.convertLegacyHttpOptions(config, "TRACES", "v1/traces", {
        "Content-Type": "application/json"
      }), import_otlp_transformer.JsonTraceSerializer));
    }
  };
});

// node_modules/.bun/@opentelemetry+exporter-trace-otlp-http@0.215.0+e40b0dfdd726a224/node_modules/@opentelemetry/exporter-trace-otlp-http/build/esm/platform/node/index.js
var init_node = __esm(() => {
  init_OTLPTraceExporter();
});

// node_modules/.bun/@opentelemetry+exporter-trace-otlp-http@0.215.0+e40b0dfdd726a224/node_modules/@opentelemetry/exporter-trace-otlp-http/build/esm/platform/index.js
var init_platform = __esm(() => {
  init_node();
});

// node_modules/.bun/@opentelemetry+exporter-trace-otlp-http@0.215.0+e40b0dfdd726a224/node_modules/@opentelemetry/exporter-trace-otlp-http/build/esm/index.js
var init_esm = __esm(() => {
  init_platform();
});

export { OTLPTraceExporter, init_esm };
