MCPcopy Create free account
hub / github.com/grpc/grpc-java / addMetricSink

Method addMetricSink

api/src/main/java/io/grpc/ServerBuilder.java:444–447  ·  view source on GitHub ↗

Adds a metric sink to the server. @param metricSink the metric sink to add. @return this

(MetricSink metricSink)

Source from the content-addressed store, hash-verified

442 * @return this
443 */
444 @ExperimentalApi("https://github.com/grpc/grpc-java/issues/12693")
445 public T addMetricSink(MetricSink metricSink) {
446 return thisT();
447 }
448
449 /**
450 * Returns the correctly typed version of the builder.

Callers 2

buildTracerMethod · 0.45

Calls 1

thisTMethod · 0.95

Tested by 1

buildTracerMethod · 0.36