getappmap / getappmap/appmap-java
Record the actual values for the SQL calls
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 88
- Forks
- 17
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 1
Description
Currently SQL queries are captured without the actual values passed, for example:
{
"event": "call",
"id": 113921,
"sql_query": {
"database_type": "H2",
"sql": "insert into owners (address,city,first_name,last_name,telephone,id) values (?,?,?,?,?,default)"
},
"thread_id": 1
},
Note that the values passed as parameters are not recorded. While the overhead might be prohibitive to enable this in general case, it might be very useful to capture this data to debug specific problems.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is named; begin by locating the Java agent’s SQL-call capture path and checking how parameterized calls are represented. Done means there is a way to record the actual parameter values for SQL calls while avoiding mandatory overhead for general capture.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, sql
- Domain
- databases, observability
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100