48 Commits

Author SHA1 Message Date
354bdc42d9 update open calls to pass encoding (#684) 2021-09-22 10:16:14 -07:00
915acb1b7c Remove unnecessary dependencies (#631) 2021-09-09 09:48:50 -07:00
b6e49ba66d Remove unused imports (#646)
* Remove unused imports

Fixes #645

* Fix lint

* Import trace_tween_factory

* Fix lint

* Fix lint

* Fix pylint

* Try without using the symbol

* Fix isort

* Revert "Fix isort"

This reverts commit 4dbd91450b4ee099fd09ab1ca0fb8ae9c10bdcfa.

* Revert "Try without using the symbol"

This reverts commit d94f95564671a3155edf44bf71bf58f22ca309f0.
2021-09-01 19:38:02 +02:00
d4668bcbc7 Release/1.5.0 0.24b0 (#628)
* updating changelogs and version to 1.4.0-0.24.dev0

* updating changelogs and version to 1.5.0-0.24b0

* Update CHANGELOG.md

Co-authored-by: Leighton Chen <lechen@microsoft.com>

* Update CHANGELOG.md

Co-authored-by: Leighton Chen <lechen@microsoft.com>

Co-authored-by: Leighton Chen <lechen@microsoft.com>
2021-08-26 14:54:46 +05:30
a04fb0e019 Back to develop after 0.23b0 release (#606)
* Back to develop after 0.23b0 release

* Update SHA

* Update SHA

Co-authored-by: Leighton Chen <lechen@microsoft.com>
2021-07-27 11:26:43 -06:00
4d0f57bbc5 Release/1.4.0 0.23b0 (#597) 2021-07-19 15:57:58 -07:00
753e22896a updating dependency for api/sdk to major version (#567)
Co-authored-by: Leighton Chen <lechen@microsoft.com>
2021-07-09 10:17:18 -07:00
56da6d74df Consistent way of not instrumenting multiple times (#549) 2021-07-09 09:55:44 -07:00
3d7cc64a97 [chore] update main after 0.22b0 release (#528) 2021-06-02 09:16:26 -07:00
36c5937770 Release for V1.3.0 and 0.22b0 (#526) 2021-06-01 18:24:03 -07:00
5d1f3201af Simplify bootstrap and generate code (#514)
- We now automatically generate bootstrap_gen.py file from the list of instrumentations present in the source tree.
- Bootstrap command now uses consumes this auto-generated list instead of keeping it's own local copy.
- We no longer uninstall packages before installing them as instrumentation package no longer specify libraries as dependencies so the edge cases are no longer there.
- We no longer try to install an incompatible version or force upgrade/downgrade an installed version. This used to leave systems in broken states which should happen no more.
2021-06-01 09:19:09 -07:00
4a8b32b941 Fix error in license files (#521)
Fixes #520
2021-05-28 09:16:58 -07:00
daa72382df Instrumentation runtime checks (#475) 2021-05-26 22:55:36 -07:00
639f257f71 [chore] bump 1.3.0.dev0 & 0.22.dev0 versions (#494) 2021-05-12 11:54:18 -07:00
c49e69c0bc prepare 0.21b0 release (#493) 2021-05-11 20:58:17 -07:00
cb35cc40ab Generate instrumentation packages setup.py files (#474)
All instrumentations packages have almost exactly same setup.py files.
This commit adds a python script that generates it from a source
template. This dramatically reduces the time and effort required to
update all instrumentation setup.py files, and also reduces chances of
making manual mistakes.
2021-04-29 17:16:41 -07:00
3ec77360cb Update instrumentations to use tracer_provider for creating tracer if given, otherwise use global tracer provider (#402) 2021-04-28 08:36:37 -07:00
2ede3a5b87 [chore] Update main after 1.1.0 release (#463) 2021-04-21 08:03:20 -07:00
658f9ca019 Added link to examples folder in each instrumentation (#438) 2021-04-13 14:56:30 -07:00
35774f19f4 bump version to 0.20.dev0 (#396) 2021-04-05 09:17:56 -07:00
56072a25f0 preparing 1.0.0/0.19b0 release (#384) 2021-03-26 15:22:09 -07:00
ef0f74ec64 remove python 3.5 support (#374) 2021-03-18 08:15:35 -07:00
13e72b1906 [Chore] Update main after 0.18b0 release (#338) 2021-02-16 16:24:28 -08:00
9c1f98d250 Update main after 1.0.0rc1 release from core (#333) 2021-02-16 09:35:18 -08:00
f0adb23143 Remove 'component' span attribute in instrumentations (#301) 2021-01-29 13:15:26 -08:00
f022385e37 update references to main (#306) 2021-01-29 12:09:22 -08:00
08e82a92d7 [post-release] updating version to 0.18.dev0 (#289) 2021-01-21 09:10:30 -08:00
2a11aeeafa [pre-release] Update changelogs, version [0.17b0] (#287) 2021-01-20 16:01:24 -08:00
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
ae70d5abe5 Combine changelogs (#239) 2020-12-08 16:20:29 -08:00
bcec49cf2e update version to 0.17.dev0 2020-11-25 21:10:39 -08:00
3e4c5d3aa3 [pre-release] Update changelogs, version [0.16b0] (#217) 2020-11-25 19:44:20 -08:00
184f786d9f Merge branch 'master' into dbapi-semantic-conv 2020-11-23 10:50:44 -05:00
b49b276f7a Update db.system for sqlite 2020-11-20 00:31:03 +05:30
3ae0edb259 Update package links to point to contrib repo 2020-11-18 13:09:44 -08:00
bd39b36b82 Fix tests for sqlite 2020-11-18 01:36:16 +05:30
7b0707b1e4 Resolve merge conflict 2020-11-17 18:05:38 +05:30
491dcf3d95 Fix TypeError: Can't instantiate abstract class TracerProvider with abstract methods get_tracer 2020-11-17 18:02:17 +05:30
28c1331e57 Update Contrib packages to 0.16dev0 (#129) 2020-11-05 11:25:37 -08:00
68f219cd0f [pre-release] Update changelogs, version [0.15b0] (#1320) 2020-11-02 09:00:06 -08:00
9fa5046128 chore: bump dev version (#1235) 2020-10-13 11:38:09 -07:00
a44ff1d79a Parent is now always passed in via Context, intead of Span or SpanContext (#1146)
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2020-10-08 08:39:04 -07:00
c1113c1c2c chore: bump dev version (#1131) 2020-09-17 12:21:39 -07:00
ef2d08e107 release: updating changelogs and version to 0.13b0 (#1129)
* updating changelogs and version to 0.13b0
2020-09-17 08:23:52 -07:00
5e39b4f71a dropping support for python 3.4 (#1099)
* dropping support for python 3.4
2020-09-14 15:11:56 -07:00
b36f8aadd2 chore: 0.13.dev0 version update (#991) 2020-08-15 18:06:27 -07:00
0969ea14a0 Rename remaining framework packages from "ext" to "instrumentation" (#969) 2020-08-04 19:10:51 -07:00
9271565bce Rename db framework packages from "ext" to "instrumentation" (#966) 2020-08-03 17:48:44 -07:00