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.
- Host: GitHub
- URL: https://github.com/joyrex2001/payara-opentracing-jdbc
- Owner: joyrex2001
- License: apache-2.0
- Created: 2020-07-13T10:06:55.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-17T20:39:32.000Z (over 5 years ago)
- Last Synced: 2025-01-23T00:28:52.911Z (over 1 year ago)
- Topics: opentracing, payara
- Language: Java
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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"})
```