Comments (4)
Thanks for opening this issue @Akil17 we currently don't know of any replacement library for p6spy. We also have #3179
from sentry-java.
We just discussed and what you could try is opening a PR in p6spy repo to forward .toString()
in PreparedStatementWrapper
to the delegate PreparedStatement
. Not sure if they still merge PR's or do releases tho.
After reading your Stackoverflow post, maybe you could modify the query before it's converted to a PreparedStatement
. Maybe your SQL library offers something for pagination.
For future maybe https://github.com/r2dbc/r2dbc-proxy could be used but we need to investigate how many dependencies this drags in, whether it actually works for us and whether we can have some hook to extract query etc.
from sentry-java.
@adinauer I appreciate your response.
I can make the change, but I am not certain if the PR will ever get merged.
Regarding the second point, I can't modify the query before it's converted to a PreparedStatement
as it sets values in the query. Additionally, my use-case is not limited to pagination; there are other analytics-related use-cases as well where we do need an actual query.
I would suggest Sentry can maintain its own p6spy branch if possible and by default add that as a dependency in the BE SDKs.
from sentry-java.
I would suggest Sentry can maintain its own p6spy branch if possible and by default add that as a dependency in the BE SDKs.
If more problems with p6spy come up, we can consider this. At the moment there are no plans to do so.
Maybe the quickes way to solve your problem is to fork p6spy, make your changes and use your own version.
from sentry-java.
Related Issues (20)
- Virtual thread pinning on MainEventProcessor.ensureHostnameCache HOT 1
- Java.Lang.IllegalArgumentException when setting MaxBreadcrumbs to 0 HOT 3
- SentryHttpClientException is being sent to sentry HOT 3
- Metrics Normalization
- Make File I/O instrumentation configurable to not log filename/path HOT 4
- Non-blocking UUID generation for Spans HOT 1
- Android transactions lasting for days, TTID halfway in, all spans at the very end. HOT 7
- Sentry for Java silently fails when using ProGuard HOT 5
- RuntimeException in io.sentry.graphql.SentryInstrumentation HOT 1
- Using `setContext` on transaction fails ingestion for simple types HOT 3
- [DOCS] Indicate a note about sendDefaultPII in the documentation HOT 1
- Remove `reportFullDisplayed` which has been deprecated
- Remove deprecated `traceHeaders` method on `IHub` / `IScopes`
- Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x6f276510 in tid 14600 (SentryAsyncConn) HOT 10
- Remove sentry-android-okhttp integration
- Overwrite TTFD measurement when API called too early HOT 1
- Uncaught exceptions do not go through BeforeSendCallback on Android HOT 3
- Some Sentry XML options (eg.: traces.user-interaction.enable) cause a C++ SIGSEV SIGFAULT error on API 21 HOT 5
- Docs: Data Collected section regarding PII for Android
- Gradle plugin expects DSN for build HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sentry-java.