Commit Graph

92 Commits

Author SHA1 Message Date
Akochavi 1dd17edeea
Add metrics instrumentation celery (#1679)
Co-authored-by: Shalev Roda <65566801+shalevr@users.noreply.github.com>
2023-06-18 10:45:00 +00:00
OpenTelemetry Bot afd8428997
Update version to 1.19.0.dev/0.40b0.dev (#1797)
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2023-05-17 10:47:58 -06:00
Naor Malca 46e4b1da44
Add support for anonymous tasks (#1407) 2023-04-28 23:09:24 +00:00
OpenTelemetry Bot e4d8f10ecd
Update version to 1.18.0.dev/0.39b0.dev (#1723) 2023-03-22 22:01:45 +05:30
Srikanth Chekuri 1f67dcfeec
Remove pinned version importlib-metadata (#1725) 2023-03-22 03:06:19 +05:30
OpenTelemetry Bot 482804451a
Update version to 1.17.0.dev/0.38b0.dev (#1677)
* Update version to 1.17.0.dev/0.38b0.dev

* Update SHA

---------

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2023-02-17 11:42:54 -06:00
Tom de Bruijn 673e4aadb4
Record exception in Celery instrumentation (#1573)
* Add tests for errors in Celery tasks

I noticed there were no tests for the error scenario in the Celery
package. This commit adds a basic test, based on the previous test and
how I see other packages test the error status on the span.

Part of #987

* Record exception in Celery instrumentation

In addition to setting the status on the span, also record the exception
on the span. This adds an event to the span with more details about the
error, following the format other instrumentations also use.

* Update CHANGELOG with Celery record exception

* Fix lint code formatting issues

* Move Celery error tests to the functional tests

The celery tests failed on Python 3.11. This is most likely due to this
issue in billiard, a celery dependency, about it not working on Python
3.11 because of the error reported in the CI:
https://github.com/celery/billiard/issues/377

It's been fixed in billiard 4.1.0, but celery is locked on billiard
version lower than 4, so it cannot use this version with the fix.

This issue does not arise on the Docker tests, because they use Python
3.9.16.

I've moved the error test span event assertions to the error test that
is available in the functional tests, and removed the unit test. That
way, the build will run successfully.

* Remove duplicate entry in changelog

This was added in a recent merge commit on this PR branch.

* Remove unused test code

With the move of the tests for tasks with errors to the functional
tests, remove the unit test's error task and unused imports.

---------

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2023-02-03 04:30:57 +00:00
Nimrod Shlagman 23f63a5328
add uninstrument test for Celery (#1490) 2022-12-18 14:46:26 +00:00
Srikanth Chekuri 0f2451be26
Update version to 1.16.0.dev/0.37b0.dev (#1485) 2022-12-10 04:03:22 +05:30
Srikanth Chekuri 71781d3964
updating changelogs and version to 1.15.0-0.36b0 (#1482) 2022-12-10 02:33:51 +05:30
Leighton Chen af972a07a9
Create RELEASING.md, Update version to 1.15.0.dev/0.36b0.dev (#1429) 2022-11-03 13:26:58 -07:00
Leighton Chen 05e23cd280
[release/v1.14.x-0.35bx] Prepare release 1.14.0/0.35b0 (#1428) 2022-11-03 10:30:35 -07:00
Leighton Chen 5c67dee23d
Change to use local dev versions (#1425) 2022-11-02 10:19:40 -07:00
Srikanth Chekuri 38d384a2ae
Add support for py3.11 (#1415) 2022-10-31 21:19:50 +00:00
Srikanth Chekuri 93b8398b60
Pin importlib-metadata version (#1374) 2022-10-06 01:51:22 +05:30
Srikanth Chekuri b2923e02fa
updating changelogs and version to 1.13.0-0.34b0 (#1352) 2022-09-27 03:12:18 +05:30
Ofek Lev ab8aa3776d
Update package metadata opentelemetry-instrumentation-celery (#1272) 2022-09-14 00:44:38 +05:30
Diego Hurtado 03d97ffaf9
Remove support for 3.6 (#853) 2022-08-25 23:32:04 +05:30
Diego Hurtado 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
Diego Hurtado ee4083982f
Release 1.12.0rc2-0.32b0 (#1174) 2022-07-04 15:14:50 +02:00
Diego Hurtado 10659f8970
Release 1.12.0rc1-0.31b0 (#1094) 2022-05-17 13:18:55 -06:00
Srikanth Chekuri b6964ccf3a
Release 1.11.1-0.30b1 (#1067) 2022-04-22 02:29:17 +05:30
Leighton Chen 3ca7e7a5a3
Release 1.11.0-0.30b0 (#1056) 2022-04-18 10:04:18 -07:00
Diego Hurtado 7a0caed36f
updating changelogs and version to 1.10.0-0.29b0 (#995) (#996) 2022-03-10 17:49:49 -06:00
Remi Rampin 7bb29bd9ab
Fix typos (#929) 2022-03-02 14:03:34 -08:00
Owais Lone c8020cbea5
updating changelogs and version to 1.9.1-0.28b1 (#887)
* updating changelogs and version to 1.9.1-0.28b1

* Update CHANGELOG.md

Co-authored-by: Nathaniel Ruiz Nowell <enruizno@uwaterloo.ca>

* Update CHANGELOG.md

Co-authored-by: Nathaniel Ruiz Nowell <enruizno@uwaterloo.ca>

Co-authored-by: Nathaniel Ruiz Nowell <enruizno@uwaterloo.ca>
2022-01-31 09:40:29 +00:00
Owais Lone f9b4d2b864
updating changelogs and version to 1.9.0-0.28b0 (#875) 2022-01-26 12:00:44 -06:00
OHeimlich ec5b73c626
Support partial timelimit for celery tasks (#847) 2022-01-25 23:43:13 +00:00
Owais Lone 0786aa49ad
updating changelogs and version to 1.8.0-0.27b0 (#835) 2021-12-17 22:34:57 +05:30
Owais Lone a9507b3d1d
updating changelogs and version to 1.7.1-0.26b1 (#809) 2021-11-12 01:30:47 +05:30
Owais Lone 7cf29b4000
Rename opentelemetry-test to opentelemetry-test-utils (#807)
* updating changelogs and version to 1.7.0-0.26b0

* Rename opentelemetry-test to opentelemetry-test-utils
2021-11-11 19:11:12 +00:00
Owais Lone e621d637e9
updating changelogs and version to 1.7.0-0.26b0 (#805) 2021-11-11 18:55:06 +00:00
Alex Boten 335a14c682
adding CI testing for python 3.10 (#742) 2021-10-26 21:43:23 +00:00
Leighton Chen ae7a415f47
Consolidate instrumentation documentation in docstrings (#754) 2021-10-21 09:54:30 -07:00
Owais Lone d158a5f3b8
Prepare release v1.6.2 and 0.25b2 (#762) 2021-10-20 00:00:28 +05:30
Leighton Chen f3dde6b628
updating changelogs and version to 1.6.1-0.25b1 (#751) 2021-10-18 13:04:04 -07:00
alrex 3ebfdb1a54
adding missing python 3.9 classifier (#741) 2021-10-14 21:52:44 +00:00
Leighton Chen 9f6c97af9f
Release/1.6.0 0.25b0 (#732) 2021-10-13 14:54:52 -07:00
alrex 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
alrex eded5f7df6
use {} instead of dict() (#695) 2021-09-22 17:37:24 +00:00
alrex 354bdc42d9
update open calls to pass encoding (#684) 2021-09-22 10:16:14 -07:00
alrex 1cf5021bb6
remove unicode prefix, no longer necessary (#689) 2021-09-20 23:53:19 +00:00
Owais Lone ffc2a2ff4c
More consistent assertion methods (#641)
* More consistent assertion methods

* Updated core SHA
2021-08-30 22:46:18 +02:00
Owais Lone 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
Srikanth Chekuri 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
Diego Hurtado 4d0f57bbc5
Release/1.4.0 0.23b0 (#597) 2021-07-19 15:57:58 -07:00
alrex 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
Leighton Chen 3d7cc64a97
[chore] update main after 0.22b0 release (#528) 2021-06-02 09:16:26 -07:00
Leighton Chen 36c5937770
Release for V1.3.0 and 0.22b0 (#526) 2021-06-01 18:24:03 -07:00
Owais Lone 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