Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 706 Bytes

README.md

File metadata and controls

24 lines (20 loc) · 706 Bytes

opentracing-faces

Usage

  • Add these entry to your pom.xml
<depencency>
    <groupId>net.bis5.opentracing</groupId>
    <artifactId>opentracing-faces</artifactId>
    <version>1.0</version>
</dependency>
  • Add phase listener to your faces-config.xml
<lifecycle>
    <phase-listener>net.bis5.opentracing.faces.phase.TracingPhaseListener</phase-listener>
</lifecycle>
  • Add @org.eclipse.microprofile.opentracing.Traced annotation to your backing bean
    • For @ViewScoped, @SessionScoped, or something else to need Serializable scopes, you can use @net.bis5.opentracing.faces.interceptor.TracedSerializable annotation instead.

License

Apache License, Version 2.0