@uoa/lambda-tracing 2.0.0-beta.5 → 2.0.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tracing.js +1 -1
- package/package.json +1 -1
- package/tracing.ts +1 -1
package/dist/tracing.js
CHANGED
|
@@ -12,7 +12,7 @@ const provider = new sdk_trace_node_1.NodeTracerProvider({ sampler: new sdk_trac
|
|
|
12
12
|
let infoHeader;
|
|
13
13
|
function initializeTracing(serviceName) {
|
|
14
14
|
const options = {
|
|
15
|
-
url: process.env.zipkinUrl ? process.env.zipkinUrl : 'http://zipkin-uoa-its-nonprod-external-
|
|
15
|
+
url: process.env.zipkinUrl ? process.env.zipkinUrl : 'http://zipkin-uoa-its-nonprod-external-2087446318.ap-southeast-2.elb.amazonaws.com:443/api/v2/spans',
|
|
16
16
|
serviceName: serviceName
|
|
17
17
|
};
|
|
18
18
|
provider.addSpanProcessor(new sdk_trace_node_1.BatchSpanProcessor(new zipkin_1.ZipkinExporter(options)));
|
package/package.json
CHANGED
package/tracing.ts
CHANGED
|
@@ -11,7 +11,7 @@ let infoHeader: string | undefined;
|
|
|
11
11
|
|
|
12
12
|
export function initializeTracing(serviceName: string) {
|
|
13
13
|
const options = {
|
|
14
|
-
url: process.env.zipkinUrl ? process.env.zipkinUrl : 'http://zipkin-uoa-its-nonprod-external-
|
|
14
|
+
url: process.env.zipkinUrl ? process.env.zipkinUrl : 'http://zipkin-uoa-its-nonprod-external-2087446318.ap-southeast-2.elb.amazonaws.com:443/api/v2/spans',
|
|
15
15
|
serviceName: serviceName
|
|
16
16
|
}
|
|
17
17
|
provider.addSpanProcessor(new BatchSpanProcessor(new ZipkinExporter(options)));
|