Codota Logo
GrpcTracing
Code IndexAdd Codota to your IDE (free)

How to use
GrpcTracing
in
brave.grpc

Best Java code snippets using brave.grpc.GrpcTracing (Showing top 14 results out of 315)

  • Common ways to obtain GrpcTracing
private void myMethod () {
GrpcTracing g =
  • Codota IconTracing tracing;GrpcTracing.create(tracing)
  • Smart code suggestions by Codota
}
origin: spring-cloud/spring-cloud-sleuth

@Bean
public GrpcTracing grpcTracing(Tracing tracing) {
  return GrpcTracing.create(tracing);
}
origin: spring-cloud/spring-cloud-sleuth

/**
 * Add brave's client interceptor to the builder.
 */
@Override
public void customize(ManagedChannelBuilder<?> managedChannelBuilder) {
  managedChannelBuilder.intercept(this.grpcTracing.newClientInterceptor());
}
origin: spring-cloud/spring-cloud-sleuth

@Bean
@GRpcGlobalInterceptor
ServerInterceptor grpcServerBraveInterceptor(GrpcTracing grpcTracing) {
  return grpcTracing.newServerInterceptor();
}
origin: openzipkin/brave

 public GrpcTracing build() {
  return new GrpcTracing(this);
 }
}
origin: io.zipkin.brave/brave-instrumentation-grpc

 public GrpcTracing build() {
  return new GrpcTracing(this);
 }
}
origin: yidongnan/grpc-spring-boot-starter

@Bean
public GrpcTracing grpcTracing(final Tracing tracing) {
  return GrpcTracing.create(tracing);
}
origin: yidongnan/grpc-spring-boot-starter

@Bean
public GlobalServerInterceptorConfigurer globalTraceServerInterceptorConfigurerAdapter(
    final GrpcTracing grpcTracing) {
  return registry -> registry.addServerInterceptors(grpcTracing.newServerInterceptor());
}
origin: yidongnan/grpc-spring-boot-starter

@Bean
public GlobalClientInterceptorConfigurer globalTraceClientInterceptorConfigurerAdapter(
    final GrpcTracing grpcTracing) {
  return registry -> registry.addClientInterceptors(grpcTracing.newClientInterceptor());
}
origin: org.springframework.cloud/spring-cloud-sleuth-core

@Bean
public GrpcTracing grpcTracing(Tracing tracing) {
  return GrpcTracing.create(tracing);
}
origin: net.devh/grpc-server-spring-boot-autoconfigure

@Bean
public GlobalServerInterceptorConfigurer globalTraceServerInterceptorConfigurerAdapter(
    final GrpcTracing grpcTracing) {
  return registry -> registry.addServerInterceptors(grpcTracing.newServerInterceptor());
}
origin: net.devh/grpc-client-spring-boot-autoconfigure

@Bean
public GlobalClientInterceptorConfigurer globalTraceClientInterceptorConfigurerAdapter(
    final GrpcTracing grpcTracing) {
  return registry -> registry.addClientInterceptors(grpcTracing.newClientInterceptor());
}
origin: net.devh/grpc-common-spring-boot

@Bean
public GrpcTracing grpcTracing(final Tracing tracing) {
  return GrpcTracing.create(tracing);
}
origin: org.springframework.cloud/spring-cloud-sleuth-core

@Bean
@GRpcGlobalInterceptor
ServerInterceptor grpcServerBraveInterceptor(GrpcTracing grpcTracing) {
  return grpcTracing.newServerInterceptor();
}
origin: org.springframework.cloud/spring-cloud-sleuth-core

/**
 * Add brave's client interceptor to the builder.
 */
@Override
public void customize(ManagedChannelBuilder<?> managedChannelBuilder) {
  managedChannelBuilder.intercept(this.grpcTracing.newClientInterceptor());
}
brave.grpcGrpcTracing

Most used methods

  • create
  • newClientInterceptor
    This interceptor traces outbound calls
  • newServerInterceptor
    This interceptor traces inbound calls
  • <init>

Popular in Java

  • Making http post requests using okhttp
  • getSupportFragmentManager (FragmentActivity)
  • runOnUiThread (Activity)
  • orElseThrow (Optional)
  • Point (java.awt)
    A point representing a location in (x, y) coordinate space, specified in integer precision.
  • BufferedInputStream (java.io)
    Wraps an existing InputStream and buffers the input. Expensive interaction with the underlying input
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • URI (java.net)
    Represents a Uniform Resource Identifier (URI) reference. Aside from some minor deviations noted bel
  • JPanel (javax.swing)
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now