* Include propagator benchmarks + latest GH action
* When we moved the aws-xray propagator in #720, we needed to update the benchmark step of the workflow
* Additionally, the GH action has evolved since we added benchmarks so we should use the latest version
* Merge all parallel benchmarks after they complete
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.
* Expand allowed versions
The Jinja2 API hasn't changed the functions that have been wrapped in at least 8 years.
The version supported should be much more broad.
* don't include 4+
* Update changelog
* Fix test that depends on lru_cache now
* tox -e generate
* Make test setup backwards compatible
* Update for code review feedback
* Disable linting check
* Fix black formatting issue
* Update readme from tox -e generate
* Update core repo sha
Co-authored-by: alrex <aboten@lightstep.com>
Co-authored-by: Leighton Chen <lechen@microsoft.com>
Co-authored-by: Owais Lone <owais@users.noreply.github.com>
* Remove unneded CI steps
These were not really needed and got in by mistake.
* Fix broken mssql integration tests
We were giving mssql server 10 seconds to start before creating the test
database. It now takes Github CI more than 10 seconds to start the mssql
server. Instead of increasing the leeway with guesses, this commit moves
the creation of test database from docker compose to the python test suite.
This allows the docker image to come up first and then create the DB
inside the test suite with proper retry mechanism that is already in
place.
* Added initial code
* Add all needed spans, and add support of instrumentation and uninstrumentation
* Added tests. Ready for PR
* Rename RequestsInstrumentation to RequestsInstrumentor to follow conventions
* Add suppress_instrumentation functionality
* Fix suppress_instrumentation functionality
* Fix CR comments and lint test failures
* Add usage of wrapt according to CR comments
* Fix according to CR Comments
* Move the tracer to be an attribute of the instrumentor instead of the channel
* Fix Tests
* Update Changelog and fix failing test
* update code using tox -e generate
* Update the name of the variable to store the tracer provider.
* Update the core repo hash in the workflow
* Update the core repo hash in the workflow
Co-authored-by: Leighton Chen <lechen@microsoft.com>
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
Co-authored-by: Owais Lone <owais@users.noreply.github.com>
* README 1.0 release checklist + what is a CODEOWNER
* Do not required SLA for responding to asks
* Easy changes to address reviewer comments
* Introduce on Slack at least not SIG meeting
* Give guidance when a CODEOWNER wants to leave a project
* Update README.md
Take suggestion package "MUST" wording.
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
* Update README.md
Take suggestion on CODEOWNER requirement wording.
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
* Apply suggestions from code review
Take more suggestions on checklist list requirements.
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
* Update README.md
Take suggestion on MUST requirement for documentation.
* Add back missing bullet point
* Do not say perpetually 1.0 instead say up to maintainers
* Make it explicity CODEOWNER is for 1 file
* Make OTel Community membership a requirement because the action we use requires it
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
* Run tests on Windows in Github Actions
* core sha update
* format code
* fix ci yaml
* rebase
* lint
* Try without win+py3.6 fix
* Try without win+py3.6 fix
* Improve test reliability
Update some tests to use more deterministic methods of testing in memory
spans. This helps the core repo pass tests after adding Windows to CI
matrix.
* Fix tox lint command
- Move apt-get install command to github actions to run on an ubuntu
system only. This keeps tox.ini cross-platform and enabled to run on
non-ubuntu systems locally.
- Add `-y` flag to apt-get install command so it does not wait for
configuration on CI.
* Downgrade pylint to 2.9.x
* Add pip cache to github actions cache
* 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
- 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.
There were questions regarding what situations require a changelog.
The intent of this change is to make the changelog requirements more
easily discoverable and clear.