- Notifications
You must be signed in to change notification settings - Fork 231
Closed
Labels
agent-pythonbugcommunityIssues opened by the communityIssues opened by the communitygood first issue
Description
Describe the bug: ...
Queries made to tables which requires escaping end up with the wrong span name.
The following spans are SELECTs from four different tables, but only two unique span names appear.
To Reproduce
Import package and call extract_signature:
>>> from elasticapm.instrumentation.packages import dbapi2 >>> dbapi2.extract_signature("SELECT username FROM user") 'SELECT FROM user' >>> dbapi2.extract_signature("SELECT username FROM [user]") 'SELECT FROM ['
Environment (please complete the following information)
- OS: [e.g. Linux]
- Python version:
- Framework and version [e.g. Django 2.1]:
- APM Server version:
- Agent version:
Additional context
Add any other context about the problem here.
-
Agent config options
Click to expand
replace this line with your agent config options remember to mask any sensitive fields like tokens
-
requirements.txt
:Click to expand
replace this line with your `requirements.txt`
Metadata
Metadata
Assignees
Labels
agent-pythonbugcommunityIssues opened by the communityIssues opened by the communitygood first issue