82 Commits

Author SHA1 Message Date
2a707bccce Bump version for aws propagator and aws sdk extension for release (#2773) 2024-08-05 10:43:04 -07:00
15fd1de93f Bump certifi and zipp (#2689)
* requirements: bump zipp to 3.19.2

To resolve a dependabot securiy report.

* requirements: bump certifi to 2024.7.4

To resolve a dependabot security report.
2024-07-10 09:24:05 -06:00
5ff46ac9d1 Move benchmarks outside of tests directory (#2670)
Fixes #2669
2024-07-09 17:17:00 -06:00
a9247774c4 Point pylint to the package root directories (#2658)
* Point pylint to the root directories

Fixes #2657

* Use cd with instrumentations

* Do the same for the rest of the components

* Specify pylint configuration file

* Fix tox lint for sio-pika

* Fix commands for util-http and azure detector

* Fix lint for sdk-extension-aws

* Fix lint for opentelemetry-instrumentation

* Fix lint for grpc instrumentation

* Fix lint for opentelemetry-instrumentation
2024-07-03 16:22:00 -06:00
ab0ea0e0f9 Add support for python 3.12 (#2572) 2024-06-10 12:49:10 -07:00
bc4b0493b9 requirements: bump pytest to 7.4.4 (#2587) 2024-06-07 08:53:22 -07:00
7f4853ac79 fix: revert modifications to Apache license (#2429)
* fix: revert modifications to Apache license

See open-telemetry/community#2056 for background

* path all LICENSE files

Signed-off-by: svrnm <neumanns@cisco.com>

* Fix missing LICENSE files

---------

Signed-off-by: svrnm <neumanns@cisco.com>
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2024-04-22 13:23:38 -05:00
804a9090a1 Add AWS resource detector entry points (#2382) 2024-04-10 10:05:38 -07:00
24c1ccabc5 Remove [test] package from sdk-extension-aws (#2324)
Fixes #2234
2024-03-21 19:16:41 -06:00
6c13a5eddc Drop support for 3.7 (#2152)
* Drop support for 3.7

Fixes #2151

* Remove 37
2024-02-03 11:57:08 -06:00
5888d4ef95 Enable lint on CI and update deps (#2067)
* Fix black an isort

* change bootstrap_gen to use a list instead of dict

* Bunch of updates

* Fix build

* fix lint

* Fix docs

* Fix lint

* More fixes

* Fix lint

* fix stupid mistake

---------

Co-authored-by: Christian Hartung <christian.hartung@olist.com>
2023-11-21 10:25:11 +02:00
bf9a8e87a0 Implement aws.ecs.* resource attributes (#1212) 2023-01-11 21:35:02 +00:00
38d384a2ae Add support for py3.11 (#1415) 2022-10-31 21:19:50 +00:00
49272a466c Update package metadata (#1308) 2022-09-07 16:34:17 +00:00
18e056b85a Codespell ci (#1237) 2022-08-29 15:08:25 +05:30
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