Skip to content

Commit

Permalink
fix: revert to Thrift protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
tokebe committed Jan 19, 2024
1 parent 0659f39 commit 91c2fa2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/controllers/opentelemetry.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ const { Resource } = require("@opentelemetry/resources");
const { isMainThread } = require("worker_threads");
const Debug = require("debug");
const debug = Debug("bte:biothings-explorer:otel-init");
const { OTLPTraceExporter } = require("@opentelemetry/exporter-trace-otlp-proto");
const JaegerExporter = require("@opentelemetry/exporter-jaeger");

debug("Initializing Opentelemetry instrumentation...");
const sdk = new opentelemetry.NodeSDK({
traceExporter: new OTLPTraceExporter({
traceExporter: new JaegerExporter({
host: process.env.JAEGER_HOST ?? "jaeger-otel-agent.sri",
port: parseInt(process.env.JAEGER_PORT ?? "4317"),
port: parseInt(process.env.JAEGER_PORT ?? "6832"),
}),
instrumentations: [getNodeAutoInstrumentations()],
resource: new Resource({
Expand Down

0 comments on commit 91c2fa2

Please sign in to comment.