Example usage for io.vertx.tracing.zipkin HttpSenderOptions HttpSenderOptions

List of usage examples for io.vertx.tracing.zipkin HttpSenderOptions HttpSenderOptions

Introduction

In this page you can find the example usage for io.vertx.tracing.zipkin HttpSenderOptions HttpSenderOptions.

Prototype

public HttpSenderOptions() 

Source Link

Usage

From source file:examples.ZipkinTracingExamples.java

public void ex2(String senderEndpoint) {
    Vertx vertx = Vertx.vertx(new VertxOptions().setTracingOptions(new ZipkinTracingOptions()
            .setSenderOptions(new HttpSenderOptions().setSenderEndpoint(senderEndpoint)).setEnabled(true)));
}

From source file:examples.ZipkinTracingExamples.java

public void ex3(String senderEndpoint, KeyCertOptions sslOptions) {
    Vertx vertx = Vertx.vertx(new VertxOptions().setTracingOptions(new ZipkinTracingOptions()
            .setSenderOptions(new HttpSenderOptions().setSenderEndpoint(senderEndpoint).setSsl(true)
                    .setKeyCertOptions(sslOptions))
            .setEnabled(true)));//from   w w w  . jav a2  s .  co m
}