rama280290
6c5730f31a
Update test_jinja2.py ( #2491 )
...
Cross-site scripting (XSS) attacks can occur if untrusted input is not escaped. This applies to templates as well as code. The jinja2 templates may be vulnerable to XSS if the environment has autoescape set to False. Unfortunately, jinja2 sets autoescape to False by default. Explicitly setting autoescape to True when creating an Environment object will prevent this.
Signed-off-by: Rajendran, Ramasubramanian <Ramasubramanian.Rajendran@fmr.com>
2024-09-04 12:24:25 +00:00
Blueswen
d6e667f3eb
Update README.rst ( #2849 )
...
The URL link is incorrect; it should be a repository in the open-telemetry account.
2024-09-04 13:55:00 +02:00
Emídio Neto
40c3363e9d
bump asgiref to 3.8.1 in test-requirements ( #2841 )
...
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2024-09-03 13:28:53 -06:00
Karoline Pauls
f5868df7f8
opentelemetry-instrumentation-asyncio: package name typo ( #2844 )
2024-09-02 17:06:57 +02:00
JianQiao
98958b6f1e
Fix description of http.server.duration and http.server.request.duration ( #2817 )
...
* fix httpserverduration and httpserverrequestduration
Signed-off-by: Steven Pan <jianqiao.pan@fmr.com>
* add change log
---------
Signed-off-by: Steven Pan <jianqiao.pan@fmr.com>
2024-08-30 10:42:33 +00:00
Emídio Neto
f7878e7613
fix core repo sha in workflows ( #2842 )
2024-08-29 10:07:04 -07:00
OpenTelemetry Bot
f8a4f1ebf8
Copy change log updates from release/v1.27.x-0.48bx ( #2839 )
2024-08-28 15:54:08 -07:00
OpenTelemetry Bot
ee67ea8ba5
Update version to 1.28.0.dev/0.49b0.dev ( #2828 )
...
* Update version to 1.28.0.dev/0.49b0.dev
* Update core SHA
---------
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2024-08-28 15:20:37 -06:00
Diego Hurtado
161acbb8ca
Skip generate-workflows when triggered by push ( #2836 )
...
Fixes #2835
2024-08-28 12:12:08 -06:00
Jack Gong
b0129acbdf
fix ut in pypy ( #2809 )
2024-08-28 10:02:42 -07:00
Diego Hurtado
5a0540ba8b
Remove references to test.yml ( #2830 )
...
* Remove references to test.yml
Fixes #2829
* Update scripts/update_sha.py
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
---------
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2024-08-27 18:08:00 +00:00
Leighton Chen
3ec1b9717c
Add new maintainers aabmass and xrmx ( #2825 )
...
Congratulations and welcome @aabmass and @xrmx as new Python maintainers! We greatly appreciate your help and expertise.
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2024-08-27 17:44:37 +00:00
Riccardo Magliocchetti
476f6e245a
bootstrap: don't strip \n for last item on listing ( #2820 )
2024-08-26 12:46:08 -07:00
Riccardo Magliocchetti
5558e78d8c
httpx: decouple tests from proxy related environment variables ( #2822 )
2024-08-26 12:24:53 -07:00
Riccardo Magliocchetti
830397ecbf
httpx: fix handling of async hooks ( #2823 )
2024-08-26 09:54:57 -07:00
Riccardo Magliocchetti
19f8e775ce
Prepare asgi tests to support newer asgiref version ( #2778 )
2024-08-26 09:38:07 -07:00
Leighton Chen
bc4d2c5b75
Fix `http.host` and `net.peer.ip` new http semconv mapping ( #2814 )
2024-08-23 16:56:36 -07:00
Ben C
fb75ac05d8
replaced broken link ( #2815 )
2024-08-23 12:15:29 -07:00
Mrugesh Master
1ad9d90308
Divided proc_cpu_percent by 100 to get value between 0 and 1 ( #2812 )
2024-08-21 15:24:46 -07:00
Emídio Neto
dda369b724
bump webob to 1.8.8 in test requirements ( #2804 )
2024-08-19 08:39:17 -07:00
Jordan Gibbings
560fd04962
fix(tornado): ensure reading future.result() won't throw an exception in client.py _finish_tracing_callback ( #2563 )
2024-08-19 07:59:24 -07:00
B Ramshankar
4108d57e7a
fix for Audit and test opentelemetry-instrumentation-jinja2 #978 ( #2799 )
2024-08-16 14:27:24 -07:00
Diego Hurtado
e7f647e91b
Add skip clause for Public API check ( #2801 )
...
Fixes #2800
2024-08-15 17:05:45 -06:00
shijiadong2022
af9e841742
Fix issue opentelemetry-instrumentation-asgi: do not set url.full attribute for server spans ( #2735 )
2024-08-14 10:26:39 -07:00
Emídio Neto
9c327eae00
bump aiohttp to 3.10.2 ( #2796 )
2024-08-13 13:48:46 -07:00
Emídio Neto
f1f017fd15
opentelemetry-bootstrap: remove aws-lambda from default instrumentations ( #2786 )
2024-08-12 12:51:34 -07:00
Roberto Villarreal
6981035aec
Ensure async generators are awaited ( #2792 )
2024-08-12 09:14:43 -07:00
Emídio Neto
f9dc90fedc
bump django version in test requirements ( #2785 )
2024-08-08 08:54:15 -07:00
Radoslav Kirilov
c238af5442
fix: `fastapi` auto-instrumentation by removing `fastapi-slim` support ( #2783 )
2024-08-08 08:45:00 -07:00
Qiu Ge
fc1c8f0f3f
Audit and test opentelemetry-instrumentation-fastapi NoOpTracerProvider ( #2779 )
2024-08-07 08:41:01 -07:00
Diego Hurtado
009bdbaef0
Remove instrumentations_1.yml ( #2782 )
...
Fixes #2781
2024-08-06 16:41:00 -06:00
Diego Hurtado
f0d8cb39e9
Generate workflow files with a Jinja template ( #2687 )
...
* Generate workflow files with a Jinja template
Fixes #2686
* Remove sudo from allowlist_externals
* Update workflows
* Add condition to skip generate-workflows
* Update workflows
* Update .github/workflows/generate_workflows_lib/src/generate_workflows_lib/test.yml.j2
Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
* Update .github/workflows/generate_workflows_lib/src/generate_workflows_lib/misc.yml.j2
Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
* Update .github/workflows/generate_workflows_lib/src/generate_workflows_lib/lint.yml.j2
Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
* Update .github/workflows/generate_workflows_lib/src/generate_workflows_lib/contrib.yml.j2
Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
* Update workflows
* Update workflows
---------
Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
2024-08-06 16:27:38 -06:00
Leighton Chen
2a707bccce
Bump version for aws propagator and aws sdk extension for release ( #2773 )
2024-08-05 10:43:04 -07:00
Riccardo Magliocchetti
8bfae49a7a
requirements: sync grpcio test requirements ( #2777 )
2024-08-05 10:18:56 -07:00
Ben Beasley
76919d3089
Loosen fastapi-slim version bound to be like the one for fastapi ( #2775 )
2024-08-05 10:04:48 -07:00
Riccardo Magliocchetti
aeac52301a
tox: run tests for real for fastapislim ( #2771 )
2024-08-05 09:45:13 -07:00
Joshua Fenton
0d28c8b978
Increase test coverage of instrumentation-aws-lambda ( #2760 )
2024-08-05 09:10:37 -07:00
Emídio Neto
ca0dd50c43
bump zipp ( #2770 )
2024-08-02 14:31:06 -07:00
RJ Duffner
265490fc78
kafka-python Instrument temporary fork, kafka-python-ng inside kafka-python's instrumentation ( #2537 )
...
* Instrument temporary fork, kafka-python-ng inside kafka-python's instrumentation
* Make kafkapython-ng run tests
2024-08-02 12:59:17 -06:00
Samuel Colvin
3e18560228
feat: add header extraction parameters to `FastAPIInstrumentor().instrument_app` ( #2241 )
...
* add header parameters to FastAPIInstrumentor().instrument_app
* add changelog
* move #2072 changelog to unreleased
* remove accidental pprint
* linting
* future annotations for fastapi
* same logic for instrument()
* Fix lint
* Fix test case
---------
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2024-08-01 16:15:34 -06:00
Malcolm Rebughini
c3e9f75fb9
fix(opentelemetry-instrumentation-celery): attach incoming context on… ( #2385 )
...
* fix(opentelemetry-instrumentation-celery): attach incoming context on _trace_prerun
* docs(CHANGELOG): add entry for fix #2385
* fix(opentelemetry-instrumentation-celery): detach context after task is run
* test(opentelemetry-instrumentation-celery): add context utils tests
* fix(opentelemetry-instrumentation-celery): remove duplicated signal registration
* refactor(opentelemetry-instrumentation-celery): fix lint issues
* refactor(opentelemetry-instrumentation-celery): fix types and tests for python 3.8
* refactor(opentelemetry-instrumentation-celery): fix lint issues
* refactor(opentelemetry-instrumentation-celery): fix lint issues
* fix(opentelemetry-instrumentation-celery): attach context only if it is not None
* refactor(opentelemetry-instrumentation-celery): fix lint issues
2024-08-01 15:33:29 -06:00
Daniel Torok
4ea9e5a99a
Fixing w3c baggage support in opentelemetry-instrumentation-aws-lambda ( #2589 )
...
* Fixing w3c baggage support in opentelemetry-instrumentation-aws-lambda
* Changelog update
* Passing context not needed
* Fixing unit test after rebase
2024-08-01 15:24:18 -06:00
Emídio Neto
fa6a36b8ef
CONTRIBUTING: note to discourage additional contributions that pertain to old HTTP semantic conventions ( #2765 )
2024-08-01 13:23:06 -07:00
Riccardo Magliocchetti
32e6f6da92
instrumentation/fastapi: fix fastapi-slim support ( #2756 )
2024-08-01 11:56:41 -07:00
Omar Abdelkader
dab664c06e
feat(mysql): add support for mysql-connector-python v9 ( #2751 )
2024-07-31 10:20:08 -07:00
Diego Hurtado
bfcb16b3c0
Update CORE_REPO_SHA ( #2755 )
...
Fixes #2754
2024-07-30 14:23:35 -06:00
Leighton Chen
c87ffd4a35
HTTP semantic convention stability migration for urllib ( #2736 )
2024-07-30 11:28:31 -07:00
Ronald
d563f8d841
refactor: avoid exception when lambda_handler envs not present in aws-lambda instrumentation ( #2750 )
2024-07-30 10:53:08 -07:00
Vamsi Kocherla
1c8d8ef536
added conditional calling of `unary_unary` etc functions in `_InterceptorChannel` ( #2484 )
2024-07-30 10:26:27 -07:00
Leighton Chen
b65f67ded5
Re-add `http.target` to Django old sem conv server duration metric ( #2746 )
2024-07-30 09:55:28 -07:00