Commit Graph

80 Commits

Author SHA1 Message Date
soumyadeepm04 e306aba7ec
removed references to [test] extras from eachdist script (#2578) 2024-06-05 11:35:48 -07:00
Alex Boten 768694cf75
add processor directory to build.sh (#2574) 2024-06-03 14:20:09 -07:00
Diego Hurtado d0500c2f8a
Add error handling to opentelemetry-bootstrap -a (#2517)
* Revert "Refactor bootstrap generation (#2101)"

This reverts commit 1ee7261ea7.

* Add error handling to opentelemetry-bootstrap -a

Fixes #2516

---------

Co-authored-by: Tammy Baylis <96076570+tammy-baylis-swi@users.noreply.github.com>
2024-05-14 15:26:31 -05:00
Diego Hurtado 1ee7261ea7
Refactor bootstrap generation (#2101)
* Refactor bootstrap generation

This makes the bootstrap script get the package version directly from
pypi instead of from our lists of packages. This makes sure that the
packages are actually available for the end user to install.

Fixes #2053

* Fix lint

* Fix lint

* Remove aiohttp

* Add missing dependency for aiohttp-client

* Use hatch version
2024-05-02 18:05:49 -05:00
Riccardo Magliocchetti a0c3211c4f
Bump black to 24.3.0 (#2452) 2024-04-23 08:45:48 -07:00
Leighton Chen 99678ccd3a
Add section for semantic convention status for instrumentations (#2433) 2024-04-16 14:04:17 -07:00
John Bley 8322ee790e
Fix all issues from shellcheck --severity=warning (#2354) 2024-04-16 09:36:37 -07:00
John Bley 9b3d0b485e
Use set -e to catch errors in all scripts (#2347) 2024-03-14 17:29:38 +00:00
Leighton Chen 1c2171528e
Fix various release scripts aspects (#2267) 2024-02-23 10:50:39 -08:00
Leighton Chen 343d137f95
Skipping certain folders in release script (#2258) 2024-02-22 16:12:38 -08:00
Srikanth Chekuri 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
Leighton Chen 4abb0e3216
Modify eachdist and build script for container packages (#1949) 2023-09-12 13:33:39 -07:00
Phillip Verheyden ffbbb4d8e3
Add better debugging if hatch subprocess fails (#1672) 2023-02-15 21:46:56 +05:30
Srikanth Chekuri dd7afe0cc6
Automated release workflow (#1580) 2023-01-19 01:47:34 +05:30
Vasi Vasireddy f38eeb73df
Update the usage of set-output command in GH actions (#1464) 2022-12-29 17:48:45 +00:00
Srikanth Chekuri 0adb306a8e
Remove DataDog exporter from main (#1366) 2022-10-06 10:46:31 +00:00
Srikanth Chekuri 65329a89b0
Temporary fix for dd exporter publish 400 issue (#1357) 2022-09-27 14:08:23 +00:00
Srikanth Chekuri 44da384853
Minor updates to scripts (#1351) 2022-09-23 12:48:37 +05:30
Srikanth Chekuri 6753c872d2
Update tooling (#1330) 2022-09-15 23:42:49 +05:30
Ofek Lev f6c24698b6
Fix tooling (#1322)
* Update scripts/eachdist.py

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2022-09-10 14:06:42 +05:30
Gal Bashan 18e056b85a
Codespell ci (#1237) 2022-08-29 15:08:25 +05:30
Srikanth Chekuri 0007c9046c
Add metric instrumentation for WSGI (#1128) 2022-06-22 03:54:05 +05:30
Leighton Chen 9ad41552b1
script (#1059) 2022-04-19 13:28:30 -06:00
rahulgupta92 8727bc3374
Correct minor typos in the codebase (#1019)
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2022-03-22 23:20:48 -06:00
Owais Lone 2f74c9021c
Add opentelemetry-contrib-instrumentations meta package (#681) 2022-03-16 18:02:44 -06:00
Owais Lone 3ceab3b510
prepare_release script to ignore some packages/files (#885) 2022-01-28 11:24:11 -08:00
Owais Lone 3137c1fa41
Upgrade black (#802) 2021-11-10 20:57:01 +00:00
Michael Manganiello 07c52aad38
Refactor code using pyupgrade for Python 3.6 (#770)
* Refactor code using pyupgrade for Python 3.6

This diff is the result of applying the following command to the
project:

```shell
find . -type f -name "*.py" -exec pyupgrade --py36-plus '{}' +
```

* Simplify yield from
2021-10-24 07:04:06 +05:30
(Eliseo) Nathaniel Ruiz Nowell f7256f5236
Fix build script to not release stable pkgs (#743) 2021-10-15 13:54:56 +02:00
Owais Lone 7cf3cb42cf
Add instrumentation and distro packages (#738)
Now that SDK does not depend on opentelemetry-instrumentation
anymore and opentelemetry-instrumentation has actual build time
dependencies on the contrib repo, it makes maintanence a lot
easier if we move opentelemetry-instrumentation to contrib repo.
opentelemetry-distro depends on opentelemetry-instrumentation
and is being moved as well. Neither of the two packages are
really part of "core" Otel python anyway.
2021-10-14 20:35:28 +00: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 d2984f5242
remove need to clone core repo (#678) 2021-09-27 20:28:32 +00:00
alrex 354bdc42d9
update open calls to pass encoding (#684) 2021-09-22 10:16:14 -07:00
Owais Lone 2e77bfc555
Added a script to generate readme file for root instrumentations (#647)
directory

This file lists down all instrumentations and the packages+versions they
support. This is helpful to find out at a glance what is exactly
supported.

Co-authored-by: alrex <aboten@lightstep.com>
2021-09-02 01:33:02 +05:30
(Eliseo) Nathaniel Ruiz Nowell d9c0116871
Worklow to publish a package from a CODEOWNER tag (#598)
* Worklow to publish a package from a CODEOWNER tag

* Prevent main script from release >=1.0 packages

* Fixes to build package workflow and script

* Better naming and remove redundant ls flag

* Add err msg for missing setup.py ls match

* Use lowercase for all non env variable vars
2021-08-19 22:11:35 +05:30
Diego Hurtado 278149553b
Remove opentelemetry-instrumentation (#595)
Fixes #592
2021-07-19 09:19:48 -07:00
Diego Hurtado bf6fd0894f
Use basename to get package name (#583)
Fixes #582
2021-07-14 08:02:20 -07:00
alrex 5b43a5993d
fix missing dep in docs build (#557) 2021-06-30 12:49:45 -07:00
Owais Lone 9c834f0881
Fix generate_instrumentation_bootstrap script on windows (#527) 2021-06-03 08:49:48 -07:00
Leighton Chen 3d7cc64a97
[chore] update main after 0.22b0 release (#528) 2021-06-02 09:16:26 -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
Owais Lone daa72382df
Instrumentation runtime checks (#475) 2021-05-26 22:55:36 -07:00
alrex c56878ebf1
fix build script issue (#497) 2021-05-12 08:58:47 -07:00
alrex c49e69c0bc
prepare 0.21b0 release (#493) 2021-05-11 20:58:17 -07:00
Owais Lone 4966590d6c
Added `eachdist.py format` command (#487)
This just runs black and isort of the entire repository.
2021-05-05 10:07:14 -07:00
Owais Lone 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
Leighton Chen f2311ddc40
Move opentelemetry-instrumentation from core (#465) 2021-04-26 11:35:13 -07:00
Marcin Zaremba a946d5c0cd
Consider propagator folder packages when building (#387) 2021-03-31 10:48:30 -07:00
alrex ef0f74ec64
remove python 3.5 support (#374) 2021-03-18 08:15:35 -07:00
Leighton Chen abb12e426d
Update build.sh (#340) 2021-02-17 09:58:35 -08:00