ZipkinReporterService

constructor(url: String, defaultServiceName: String = DEFAULT_SERVICE_NAME, initBlock: ZipkinReporterService.() -> Unit = {})

Creates a reporter that sends spans to the Zipkin collector at url.

Parameters

url

The full URL of the Zipkin collector endpoint.

defaultServiceName

The service name newTracing uses when none is given. Defaults to Brave's "unknown".

initBlock

An optional initialization block invoked after the service listener is registered.