An open API service indexing awesome lists of open source software.

https://github.com/joyrex2001/payara-opentracing-jdbc

This is a payara(-micro) trace listener that will enable basic sql opentracing.
https://github.com/joyrex2001/payara-opentracing-jdbc

opentracing payara

Last synced: over 1 year ago
JSON representation

This is a payara(-micro) trace listener that will enable basic sql opentracing.

Awesome Lists containing this project

README

          

# Payara OpenTracing JDBC tracing

This is a payara sql trace listener that will create opentracing spans based on jdbc calls and can be used in combination with the standard microprofile opentracing implementation as described [here](https://blog.payara.fish/new-opentracing-features-in-payara-platform-5.194).

To enable the tracing, compile the jar and add it to the classpath of payara. After that, configure the tracer in the fish.payara.sql-trace-listeners as described in the [payara documentation](https://docs.payara.fish/community/docs/5.201/documentation/payara-server/advanced-jdbc/sql-trace-listeners.html).

```
@DataSourceDefinition(
name = "java:app/MyApp/MyDS",
className = "org.h2.jdbcx.JdbcDataSource",
url = "jdbc:h2:mem:test",
properties = {"fish.payara.sql-trace-listeners=com.joyrex2001.payara.opentracing.jdbc.OpenTracingListener"})
```