cherry-pick commit from pr 313

This commit is contained in:
Dave Horton
2023-04-12 08:15:32 -04:00
parent 5c2630fe1f
commit 85ab75d8e3

View File

@@ -12,6 +12,7 @@ const {
OTEL_EXPORTER_JAEGER_AGENT_HOST,
OTEL_EXPORTER_JAEGER_ENDPOINT,
OTEL_EXPORTER_ZIPKIN_URL,
OTEL_EXPORTER_COLLECTOR_URL
} = require('./lib/config');
module.exports = (serviceName) => {
@@ -33,7 +34,7 @@ module.exports = (serviceName) => {
}
else {
exporter = new OTLPTraceExporter({
url: process.OTEL_EXPORTER_COLLECTOR_URL
url: OTEL_EXPORTER_COLLECTOR_URL
});
}