ZipkinConfig
data class ZipkinConfig(val enabled: Boolean, val hostname: String, val port: Int, val path: String, val serviceName: String, val scheme: String = "http")
Configuration data for connecting to a Zipkin distributed tracing server.
Used by ZipkinReporterService to construct the reporter URL and identify the service in traces. The URL is {scheme}://{hostname}:{port}/{path}.
Constructors
Properties
Link copied to clipboard
The URL scheme spans are sent with: "http", the default, or "https" to send them over TLS, as a collector that accepts only HTTPS, or one reached over an untrusted network, needs: spans often hold URLs, SQL and user IDs. Either is accepted in any case; any other value fails the service's init method.
Link copied to clipboard
The name used to identify this service in Zipkin traces.