congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Collector$Builder.metrics
Code IndexAdd Tabnine to your IDE (free)

How to use
metrics
method
in
zipkin2.collector.Collector$Builder

Best Java code snippets using zipkin2.collector.Collector$Builder.metrics (Showing top 8 results out of 315)

origin: io.zipkin.zipkin2/zipkin-collector-kafka08

@Override
public Builder metrics(CollectorMetrics metrics) {
 if (metrics == null) throw new NullPointerException("metrics == null");
 this.metrics = metrics.forTransport("kafka");
 delegate.metrics(this.metrics);
 return this;
}
origin: io.zipkin.zipkin2/zipkin-collector-scribe

@Override
public Builder metrics(CollectorMetrics metrics) {
 if (metrics == null) throw new NullPointerException("metrics == null");
 this.metrics = metrics.forTransport("scribe");
 delegate.metrics(this.metrics);
 return this;
}
origin: io.zipkin.zipkin2/zipkin-collector-rabbitmq

@Override
public Builder metrics(CollectorMetrics metrics) {
 if (metrics == null) throw new NullPointerException("metrics == null");
 this.metrics = metrics.forTransport("rabbitmq");
 this.delegate.metrics(this.metrics);
 return this;
}
origin: io.zipkin.java/zipkin-server

@Autowired
ZipkinHttpCollector(
  StorageComponent storage, CollectorSampler sampler, CollectorMetrics metrics) {
 this.metrics = metrics.forTransport("http");
 this.collector =
   Collector.newBuilder(getClass())
     .storage(storage)
     .sampler(sampler)
     .metrics(this.metrics)
     .build();
 this.JSON_V2 = new HttpCollector(SpanBytesDecoder.JSON_V2);
 this.PROTO3 = new HttpCollector(SpanBytesDecoder.PROTO3);
 this.JSON_V1 = new HttpCollector(SpanBytesDecoder.JSON_V1);
 this.THRIFT = new HttpCollector(SpanBytesDecoder.THRIFT);
 this.errorCallback =
   new Receiver.ErrorCallback() {
    @Override
    public void error(HttpServerExchange exchange, IOException e) {
     ZipkinHttpCollector.this.metrics.incrementMessagesDropped();
     ZipkinHttpCollector.error(exchange, e);
    }
   };
}
origin: io.zipkin.zipkin2/zipkin-collector-kafka

@Override
public Builder metrics(CollectorMetrics metrics) {
 if (metrics == null) throw new NullPointerException("metrics == null");
 this.metrics = metrics.forTransport("kafka");
 delegate.metrics(this.metrics);
 return this;
}
origin: io.zipkin.aws/zipkin-collector-kinesis

@Override
public Builder metrics(CollectorMetrics metrics) {
 if (metrics == null) throw new NullPointerException("metrics == null");
 delegate.metrics(metrics.forTransport("kinesis"));
 return this;
}
origin: io.zipkin.azure/zipkin-collector-eventhub

@Override
public Builder metrics(CollectorMetrics metrics) {
 delegate.metrics(metrics);
 return this;
}
origin: io.zipkin.zipkin2/zipkin-junit

ZipkinDispatcher(StorageComponent storage, CollectorMetrics metrics, MockWebServer server) {
 this.consumer = Collector.newBuilder(getClass()).storage(storage).metrics(metrics).build();
 this.metrics = metrics;
 this.server = server;
}
zipkin2.collectorCollector$Buildermetrics

Popular methods of Collector$Builder

  • build
  • storage
  • sampler
  • <init>

Popular in Java

  • Updating database using SQL prepared statement
  • getSupportFragmentManager (FragmentActivity)
  • setScale (BigDecimal)
  • getSharedPreferences (Context)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now