Index

B C M N P R S T 
All Classes All Packages

B

brave.rpc - package brave.rpc
 
build() - Method in class brave.rpc.RpcRuleSampler.Builder
 
build() - Method in class brave.rpc.RpcTracing.Builder
 

C

clientSampler() - Method in class brave.rpc.RpcTracing
Returns an overriding sampling decision for a new trace.
clientSampler(SamplerFunction<RpcRequest>) - Method in class brave.rpc.RpcTracing.Builder
 
close() - Method in class brave.rpc.RpcTracing
 
create(Tracing) - Static method in class brave.rpc.RpcTracing
 
current() - Static method in class brave.rpc.RpcTracing
Returns the most recently created tracing component iff it hasn't been closed.
customize(RpcTracing.Builder) - Method in interface brave.rpc.RpcTracingCustomizer
 

M

method() - Method in class brave.rpc.RpcRequest
The unqualified, case-sensitive method name.
methodEquals(String) - Static method in class brave.rpc.RpcRequestMatchers
Matcher for case-sensitive RPC method names, such as "Report" or "EXISTS"

N

newBuilder() - Static method in class brave.rpc.RpcRuleSampler
 
newBuilder(Tracing) - Static method in class brave.rpc.RpcTracing
 
NOOP - Static variable in interface brave.rpc.RpcTracingCustomizer
Use to avoid comparing against null references

P

putAllRules(RpcRuleSampler) - Method in class brave.rpc.RpcRuleSampler.Builder
Adds or replaces all rules in this sampler with those of the input.
putRule(Matcher, Sampler) - Method in class brave.rpc.RpcRuleSampler.Builder
Adds or replaces the sampler for the matcher.

R

RpcClientRequest - Class in brave.rpc
Marks an interface for use in injection and RpcRuleSampler.
RpcClientRequest() - Constructor for class brave.rpc.RpcClientRequest
 
RpcRequest - Class in brave.rpc
Abstract request type used for parsing and sampling of rpc clients and servers.
RpcRequestMatchers - Class in brave.rpc
Null safe matchers for use in RpcRuleSampler.
RpcRequestMatchers() - Constructor for class brave.rpc.RpcRequestMatchers
 
RpcRuleSampler - Class in brave.rpc
Assigns sample rates to rpc requests.
RpcRuleSampler.Builder - Class in brave.rpc
 
RpcServerRequest - Class in brave.rpc
Marks an interface for use in extraction and RpcRuleSampler.
RpcServerRequest() - Constructor for class brave.rpc.RpcServerRequest
 
RpcTracing - Class in brave.rpc
Instances built via RpcTracing.create(Tracing) or RpcTracing.newBuilder(Tracing) are registered automatically such that statically configured instrumentation like HTTP clients can use RpcTracing.current().
RpcTracing.Builder - Class in brave.rpc
 
RpcTracingCustomizer - Interface in brave.rpc
This allows configuration plugins to collaborate on building an instance of RpcTracing.

S

serverSampler() - Method in class brave.rpc.RpcTracing
Returns an overriding sampling decision for a new trace.
serverSampler(SamplerFunction<RpcRequest>) - Method in class brave.rpc.RpcTracing.Builder
 
service() - Method in class brave.rpc.RpcRequest
The fully-qualified, case-sensitive service path.
serviceEquals(String) - Static method in class brave.rpc.RpcRequestMatchers
Matcher for case-sensitive RPC service names, such as "grpc.health.v1.Health" or "scribe"
spanKind() - Method in class brave.rpc.RpcClientRequest
 
spanKind() - Method in class brave.rpc.RpcServerRequest
 

T

toBuilder() - Method in class brave.rpc.RpcTracing
 
tracing() - Method in class brave.rpc.RpcTracing
 
tracing(Tracing) - Method in class brave.rpc.RpcTracing.Builder
 
trySample(RpcRequest) - Method in class brave.rpc.RpcRuleSampler
 
B C M N P R S T 
All Classes All Packages