Skip to content

Commit bd56fff

Browse files
committed
Display correct serviceName for zipkin
1 parent c7eb143 commit bd56fff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Exporters/Zipkin/ZipkinTraceExporter.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public class ZipkinTraceExporter: SpanExporter {
1212

1313
public init(options: ZipkinTraceExporterOptions) {
1414
self.options = options
15-
localEndPoint = ZipkinTraceExporter.getLocalZipkinEndpoint(name: "Open Telemetry Exporter")
15+
localEndPoint = ZipkinTraceExporter.getLocalZipkinEndpoint(name: options.serviceName)
1616
}
1717

1818
public func export(spans: [SpanData]) -> SpanExporterResultCode {

0 commit comments

Comments
 (0)