Skip to content
Prev Previous commit
Next Next commit
Update packages/opentelemetry-exporter-zipkin/src/zipkin.ts
making service name optional for zipkin exporter

Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
  • Loading branch information
rezakrimi and dyladan authored Jun 3, 2020
commit e0dd7425bad29e48d51c6c4f120c9dd9909e355d
2 changes: 1 addition & 1 deletion packages/opentelemetry-exporter-zipkin/src/zipkin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class ZipkinExporter implements SpanExporter {
private readonly _statusCodeTagName: string;
private readonly _statusDescriptionTagName: string;
private readonly _reqOpts: http.RequestOptions;
private _serviceName: string;
private _serviceName?: string;
private _isShutdown: boolean;

constructor(config: zipkinTypes.ExporterConfig) {
Expand Down