Interface TraceManager (2.76.0)

  public 
  
 interface 
 TraceManager 
 

Provides an interface for tracing management. The implementer is expected to use an observability framework, e.g. OpenTelemetry. There should be only one instance of TraceManager per client.

Methods

createSpan(String name, Map<String,Object> attributes)

  public 
  
 abstract 
  
 TraceManager 
 . 
 Span 
  
 createSpan 
 ( 
 String 
  
 name 
 , 
  
 Map<String 
 , 
 Object 
>  
 attributes 
 ) 
 

Starts a span and returns a handle to manage its lifecycle.

Parameters
Name
Description
name
attributes
Map < String , Object >
Returns
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: