Commit Graph

37 Commits

Author SHA1 Message Date
Leighton Chen 3f72b32a9b version 2021-02-19 12:14:12 -08:00
Leighton Chen 76c0b490a5 instr 2021-02-19 09:42:36 -08:00
Leighton Chen 9bba80ab02 version 2021-02-19 09:37:33 -08:00
Leighton Chen f7ba3ba516
update (#337) 2021-02-16 14:27:31 -08:00
Leighton Chen 9c1f98d250
Update main after 1.0.0rc1 release from core (#333) 2021-02-16 09:35:18 -08:00
Mario Jonke f0adb23143
Remove 'component' span attribute in instrumentations (#301) 2021-01-29 13:15:26 -08:00
alrex f022385e37
update references to main (#306) 2021-01-29 12:09:22 -08:00
alrex 08e82a92d7
[post-release] updating version to 0.18.dev0 (#289) 2021-01-21 09:10:30 -08:00
alrex 2a11aeeafa
[pre-release] Update changelogs, version [0.17b0] (#287) 2021-01-20 16:01:24 -08:00
Owais Lone 8b9202be6f
Updated dbapi and psycopg2 instrumentations. (#246)
Changes:

- Update dbapi instrumentation to use the SQL statement name as the span
instead of the entire SQL query.
- Renamed TracedCursor with CursorTracing. The class was not a valid
Cursor so the name was confusing.
- Updated CursorTracing's (previously TracedCursor) traced_execution
method to accept the cursor instance as the first argument. This is
required as for some dbapi implementations, we need a reference to the
cursor in order to correctly format the SQL query.
- Updated psycopg2 instrumentation to leverage dbapi's `cursor_factory`
mechanism instead of wrapping the cursor with wrapt. This results in a
simpler instrumentation without monkey patching objects at runtime and
allows psycopg2's type registration system to work. This should make it
possible to use psycopg2 instrumentation when using the JSONB feature or
with frameworks like Django.
2021-01-20 10:45:28 -08:00
alrex ae70d5abe5
Combine changelogs (#239) 2020-12-08 16:20:29 -08:00
Alex Boten bcec49cf2e update version to 0.17.dev0 2020-11-25 21:10:39 -08:00
alrex 3e4c5d3aa3
[pre-release] Update changelogs, version [0.16b0] (#217) 2020-11-25 19:44:20 -08:00
Leighton Chen 184f786d9f
Merge branch 'master' into dbapi-semantic-conv 2020-11-23 10:50:44 -05:00
Srikanth Chekuri 7e513e6a4d Add CHANGELOG entry 2020-11-20 14:25:55 +05:30
Nathaniel Ruiz Nowell 3ae0edb259 Update package links to point to contrib repo 2020-11-18 13:09:44 -08:00
Srikanth Chekuri a208316dca Fix tests for dbapi 2020-11-18 01:35:50 +05:30
Srikanth Chekuri 7c038ae2b4 Update dbapi instrumentation
Fix span name for dbapi
Decode db user for pymysql
2020-11-18 01:35:23 +05:30
Srikanth Chekuri 7b0707b1e4 Resolve merge conflict 2020-11-17 18:05:38 +05:30
Srikanth Chekuri 491dcf3d95 Fix TypeError: Can't instantiate abstract class TracerProvider with abstract methods get_tracer 2020-11-17 18:02:17 +05:30
stschenk 09f7ab2467 Fixup Changelog 2020-11-09 08:50:49 -08:00
stschenk 6bf1013d2e
Apply suggestions from code review
Co-authored-by: Yusuke Tsutsumi <tsutsumi.yusuke@gmail.com>
2020-11-08 08:52:09 -08:00
stschenk 8604bf3783 update changelog 2020-11-08 08:44:26 -08:00
stschenk e752b15731 update change log 2020-11-06 09:41:12 -08:00
stschenk 8afbd83e8c add param to control collection of db.statement.parameters 2020-11-06 09:37:28 -08:00
(Eliseo) Nathaniel Ruiz Nowell 28c1331e57
Update Contrib packages to 0.16dev0 (#129) 2020-11-05 11:25:37 -08:00
alrex bbae639118 [pre-release] Update changelogs, version [0.15b0] (#1320) 2020-11-02 09:00:06 -08:00
Leighton Chen 5cab8136f7 Change status codes from grpc status codes, remove setting status in instrumentations except on ERROR (#1282) 2020-10-28 14:28:58 -07:00
Leighton Chen 20a3a160bb chore: bump dev version (#1235) 2020-10-13 11:38:09 -07:00
Leighton Chen 362fe9c05e Use is_recording flag in aiopg, asyncpg, dbapi, psycopg2, pymemcache, pymongo, redis, sqlalchemy instrumentations (#1212) 2020-10-08 12:25:20 -07:00
alrex 23a011e5e7 chore: bump dev version (#1131) 2020-09-17 12:21:39 -07:00
alrex 8de04ac996 release: updating changelogs and version to 0.13b0 (#1129)
* updating changelogs and version to 0.13b0
2020-09-17 08:23:52 -07:00
alrex 82d0b14335 dropping support for python 3.4 (#1099)
* dropping support for python 3.4
2020-09-14 15:11:56 -07:00
Daniel 33954ca03b Add support for db cursors and connections in context managers (#1028)
Here is an example snippet that will not report tracing without this patch:

with psycopg2.connect(...) as conn, conn.cursor() as cursor:
    cursor.execute("select 1;")

Co-authored-by: Carl Bordum Hansen <carl@bordum.dk>
2020-09-02 11:26:16 -07:00
Leighton Chen 1107b97209 chore: 0.13.dev0 version update (#991) 2020-08-15 18:06:27 -07:00
Leighton Chen e2b3b6b6fb Rename remaining framework packages from "ext" to "instrumentation" (#969) 2020-08-04 19:10:51 -07:00
Leighton Chen 8fef469ab7 Rename db framework packages from "ext" to "instrumentation" (#966) 2020-08-03 17:48:44 -07:00