67 Commits

Author SHA1 Message Date
03d97ffaf9 Remove support for 3.6 (#853) 2022-08-25 23:32:04 +05:30
7625b82dff Release 1.12.0-0.33b0 (#1223)
* Release 1.12.0-0.33b0

* Update API and SDK versions to 1.12
2022-08-09 21:32:17 +02:00
a5ec3f7f55 Use a shorter timeout for AWS EC2 metadata requests (#1089)
* Use a shorter timeout for AWS EC2 metadata requests

Fix #1088 

According to the docs, the value for `timeout` is in seconds: https://docs.python.org/3/library/urllib.request.html#urllib.request.urlopen. 1000 seconds seems slow and in some cases can block the startup of the program being instrumented (see #1088 as an example), because the request will hang indefinitely in non-AWS environments. Using a much shorter 1 second timeout seems like a reasonable workaround for this.

* add changelog entry for timeout change

* use 5s timeout for ECS and EKS, update changelog

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2022-05-24 14:48:43 +02:00
3137c1fa41 Upgrade black (#802) 2021-11-10 20:57:01 +00:00
335a14c682 adding CI testing for python 3.10 (#742) 2021-10-26 21:43:23 +00:00
9e57fbad8e Release AWS Python SDK Extension as 2.0.1 and AWS Propagator as 1.0.1 (#753) 2021-10-18 14:51:52 -07:00
c6ec4866ea Remove unnecessary deps on test pkgs (#752) 2021-10-18 19:39:27 +00:00
3ebfdb1a54 adding missing python 3.9 classifier (#741) 2021-10-14 21:52:44 +00:00
9f6c97af9f Release/1.6.0 0.25b0 (#732) 2021-10-13 14:54:52 -07:00
224780f38d Move AWS X-Ray Propagator into its own package (#720)
Co-authored-by: Owais Lone <owais@users.noreply.github.com>
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2021-10-12 15:44:03 +00:00
c143d0534f Fix typo in AWS X-RAY Propagator (#702) 2021-10-01 05:08:26 +05:30
fbb677a01d use f-strings instead of format (#693)
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2021-09-28 19:12:47 +00:00
201aa2bb1b chore: Set SDK Ext AWS to 1.1.0dev0 (#696) 2021-09-22 14:21:29 -07:00
354bdc42d9 update open calls to pass encoding (#684) 2021-09-22 10:16:14 -07:00
50e7b1b708 Patch update SDK Extension AWS to version 1.0.1 (#672)
Co-authored-by: Leighton Chen <lechen@microsoft.com>
2021-09-16 16:13:14 -07:00
fc8a02bcf8 Release AWS Python SDK Extension as 1.0 (#667) 2021-09-09 13:01:47 -07:00
97e9f2f9ef Update Doc for aws propagator default sampling behavior (#656) 2021-09-08 11:43:20 -07: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
b8fe7fc7cd EKS Detector should return empty string, not resource if env var missing (#613)
* EKS Detector returns string if missing env var

* Update sdk-extension/opentelemetry-sdk-extension-aws/src/opentelemetry/sdk/extension/aws/resource/eks.py

Add return value typing to _get_cluster_name method

Co-authored-by: Aaron Abbott <aaronabbott@google.com>

Co-authored-by: Aaron Abbott <aaronabbott@google.com>
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2021-08-13 17:14:41 -04:00
ebcdbdb660 Exit AWS ECS and EKS Detector container file reads early if container id found (#612) 2021-08-13 09:25:14 -07:00
d671a10c52 SDK extension does not need to depend on API directly (#605) 2021-08-02 09:08:15 -07:00
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
1157eb294d Add AWS resource detectors to extension package (#586) 2021-07-23 15:57:23 -07: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
47f9cb982a AWS ext depends on SDK IdGenerator (#558) 2021-07-07 13:38:00 -07:00
bddd0825bf Update AWS entry points to match spec (#566) 2021-07-06 10:30:52 -07:00
5b43a5993d fix missing dep in docs build (#557) 2021-06-30 12:49:45 -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
3a7eb5364c Make propagators conform to spec (#488)
* Make propagators conform to spec

* do not modify / set an invalid span in the passed context in case
  a propagator did not manage to extract
* in case no context is passed to propagator.extract assume the root
  context as default so that a new trace is started instead of continung
  the current active trace in case extraction fails
* fix also ot-trace propagator which compared int with str trace/span ids
  when checking for validity in extract
2021-05-31 09:35:28 -07:00
4a8b32b941 Fix error in license files (#521)
Fixes #520
2021-05-28 09:16:58 -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
2ede3a5b87 [chore] Update main after 1.1.0 release (#463) 2021-04-21 08:03:20 -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
d89f865221 Sync with Make setters and getters optional (#372) 2021-03-26 10:20:01 -07:00
ef0f74ec64 remove python 3.5 support (#374) 2021-03-18 08:15:35 -07:00
10a448ee75 move textmap propagators to opentelemetry.propagators (#355) 2021-03-02 16:47:29 -08:00
79809976d5 Rename DefaultSpan to NonRecordingSpan (#354) 2021-03-02 10:30:52 -08:00
1c8852f99e Rename IdsGenerator to IdGenerator (#350) 2021-02-26 14:56:30 -08:00
13e72b1906 [Chore] Update main after 0.18b0 release (#338) 2021-02-16 16:24:28 -08:00
269e0f4de3 Add OpenTracing propagator (#302) 2021-02-16 15:42:13 -08:00
9c1f98d250 Update main after 1.0.0rc1 release from core (#333) 2021-02-16 09:35:18 -08:00
f022385e37 update references to main (#306) 2021-01-29 12:09:22 -08:00
c9075cf1f2 Add readTheDocs (#252)
Co-authored-by: Aaron Abbott <aaronabbott@google.com>
Co-authored-by: alrex <aboten@lightstep.com>
2021-01-26 09:06:39 -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
b3aa7a79d3 Update TraceState (#276) 2021-01-20 12:13:12 -08:00