Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Commit

Permalink
Update dependency jaeger-client to ~3.15.0 (#550)
Browse files Browse the repository at this point in the history
* Update dependency jaeger-client to ~3.15.0

* Fix build - jaegertracing/jaeger-client-node#340
  • Loading branch information
renovate[bot] authored and mayurkale22 committed May 29, 2019
1 parent a157106 commit 367db52
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions packages/opencensus-exporter-jaeger/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/opencensus-exporter-jaeger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@
},
"dependencies": {
"@opencensus/core": "^0.0.13",
"jaeger-client": "~3.14.0"
"jaeger-client": "~3.15.0"
}
}
2 changes: 1 addition & 1 deletion packages/opencensus-exporter-jaeger/src/jaeger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class JaegerTraceExporter implements Exporter {
.JAEGER_OPENCENSUS_EXPORTER_VERSION_TAG_KEY] =
`opencensus-exporter-jaeger-${pjsonVersion}`;
defaultTags[JaegerTraceExporter.TRACER_HOSTNAME_TAG_KEY] = os.hostname();
defaultTags[JaegerTraceExporter.PROCESS_IP] = Utils.ipToInt(Utils.myIp());
defaultTags[JaegerTraceExporter.PROCESS_IP] = Utils.myIp();

// Merge the user given tags and the default tags
const _tags: Tag[] = [...tags, ...Utils.convertObjectToTags(defaultTags)];
Expand Down
3 changes: 2 additions & 1 deletion packages/opencensus-exporter-jaeger/test/test-jaeger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ describe('Jaeger Exporter', () => {
testHostnameSeen = true;
return;
}
if (tag.key === JaegerTraceExporter.PROCESS_IP) {
if (tag.key === JaegerTraceExporter.PROCESS_IP &&
tag.vType === 'STRING') {
testProcessIpSeen = true;
return;
}
Expand Down

0 comments on commit 367db52

Please sign in to comment.