mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-19 04:17:44 +00:00
cherry-pick commit from pr 313
This commit is contained in:
@@ -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
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user