pub struct ZipkinExporterBuilder { /* private fields */ }Zipkin exporter is deprecated. Use the OTLP exporter instead. Refer to https://zipkin.io/pages/architecture.html for Zipkinās native OTLP support.
Expand description
Builder for ZipkinExporter struct.
Implementations§
Source§impl ZipkinExporterBuilder
impl ZipkinExporterBuilder
Sourcepub fn build(self) -> Result<ZipkinExporter, ExporterBuildError>
šDeprecated since 0.32.0: Zipkin exporter is deprecated. Use the OTLP exporter instead. Refer to https://zipkin.io/pages/architecture.html for Zipkinās native OTLP support.
pub fn build(self) -> Result<ZipkinExporter, ExporterBuildError>
Zipkin exporter is deprecated. Use the OTLP exporter instead. Refer to https://zipkin.io/pages/architecture.html for Zipkinās native OTLP support.
Creates a new ZipkinExporter from this configuration.
Returns error if the endpoint is not valid or if no http client is provided.
Sourcepub fn with_http_client<T: HttpClient + 'static>(self, client: T) -> Self
šDeprecated since 0.32.0: Zipkin exporter is deprecated. Use the OTLP exporter instead. Refer to https://zipkin.io/pages/architecture.html for Zipkinās native OTLP support.
pub fn with_http_client<T: HttpClient + 'static>(self, client: T) -> Self
Zipkin exporter is deprecated. Use the OTLP exporter instead. Refer to https://zipkin.io/pages/architecture.html for Zipkinās native OTLP support.
Assign client implementation
When using this method, the export timeout will depend on the provided
client implementation and may not respect the timeout set via the
environment variable OTEL_EXPORTER_ZIPKIN_TIMEOUT.
Sourcepub fn with_service_address(self, addr: SocketAddr) -> Self
šDeprecated since 0.32.0: Zipkin exporter is deprecated. Use the OTLP exporter instead. Refer to https://zipkin.io/pages/architecture.html for Zipkinās native OTLP support.
pub fn with_service_address(self, addr: SocketAddr) -> Self
Zipkin exporter is deprecated. Use the OTLP exporter instead. Refer to https://zipkin.io/pages/architecture.html for Zipkinās native OTLP support.
Assign the service address.
Sourcepub fn with_collector_endpoint<T: Into<String>>(self, endpoint: T) -> Self
šDeprecated since 0.32.0: Zipkin exporter is deprecated. Use the OTLP exporter instead. Refer to https://zipkin.io/pages/architecture.html for Zipkinās native OTLP support.
pub fn with_collector_endpoint<T: Into<String>>(self, endpoint: T) -> Self
Zipkin exporter is deprecated. Use the OTLP exporter instead. Refer to https://zipkin.io/pages/architecture.html for Zipkinās native OTLP support.
Assign the Zipkin collector endpoint
Note: Programmatically setting this will override any value
set via the environment variable OTEL_EXPORTER_ZIPKIN_ENDPOINT.