Commit Graph

19 Commits

Author SHA1 Message Date
Adrian Garcia Badaracco 4d6893e8fa
fastapi: fix wrapping of middlewares (#3012)
* fastapi: fix wrapping of middlewares

* fix import, super

* add test

* changelog

* lint

* lint

* fix

* ci

* fix wip

* fix

* fix

* lint

* lint

* Exit?

* Update test_fastapi_instrumentation.py

Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>

* remove break

* fix

* remove dunders

* add test

* lint

* add endpoint to class

* fmt

* pr feedback

* move type ignores

* fix sphinx?

* Update CHANGELOG.md

* update fastapi versions

* fix?

* generate

* stop passing on user-supplied error handler

This prevents potential side effects, such as logging, to be executed
more than once per request handler exception.

* fix ci

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>

* fix ruff

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>

* remove unused funcs

Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>

* fix lint,ruff

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>

* fix changelog

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>

* add changelog note

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>

* fix conflicts with main

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>

---------

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Co-authored-by: Alexander Dorn <ad@not.one>
Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
2025-05-20 11:00:56 -03:00
Marcelo Trylesinski 07c97eac38
Add type hints to `psycopg` (#3067)
* Add type hints to Psycopg

* fix tests

* fix

* Add psycopg.Connection to nitpick

* Add py.typed

* add psycopg to nitpick again

* add psycopg to nitpick again

* move py.typed to the right folder

---------

Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2025-01-15 16:30:01 +00:00
Marcelo Trylesinski 29ef6a9455
Add type hints to dbapi (#3068) 2025-01-10 10:03:09 -08:00
Marcelo Trylesinski d155540038
httpx: update type hints to `RequestInfo`/`ResponseInfo` (#3105) 2024-12-17 09:43:22 -08:00
Emídio Neto 668cb75f24
docs: add missing autodoc for click and aiohttp-server (#3060)
* add missing docs for click and aiohttp-server

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>

* fix click readme

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>

* add nitpick

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>

---------

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2024-12-03 09:19:43 +00:00
Liudmila Molkova 142b86c1bf
OpenAI instrumentation docs fixes (#2988)
* Add openai docs config and improve readme

* up

* Add manual sample, add no-content tests

* update headers

* lint

* use grpc endpoint in openai samples, add extra env vars to readme

* move distro fix to another PR

* nits

* Ignore examples for pylint

* Update .pylintrc

* ignroe lint for example

* Fix README docs

* Update openai.rst

* Update conf.py

* Update docs-requirements.txt

* docs

---------

Co-authored-by: Leighton Chen <lechen@microsoft.com>
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2024-12-02 10:23:11 +01:00
Nimrod Shlagman d5cbd67e88
Add boto3sqs to docs (#1666) 2023-02-20 21:51:13 +05:30
Nimrod Shlagman 1e89854832
Add confluent kafka docs (#1668)
* add elasticsearch to docs

* add confluent kafka to docs

* tox generate fix

* tox docs fix

---------

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2023-02-15 12:17:28 +00:00
Srikanth Chekuri 0adb306a8e
Remove DataDog exporter from main (#1366) 2022-10-06 10:46:31 +00:00
Ran Nozik 0b9e96dae0
Support newer httpx versions (#866) 2022-02-04 09:07:31 -08:00
Oleg A 895800fa1d
aiohttp instrumentation: correct url filter input type (#864)
* fix: correct _UrlFilterT

* docs: CHANGELOG.md update

* style: apply isort

* fix: add yarl to docs requirements

* Revert "fix: add yarl to docs requirements"

This reverts commit e482ba54fc.

* fix: add yarl to nitpick exceptions

Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2022-02-01 16:04:49 -06:00
(Eliseo) Nathaniel Ruiz Nowell 78f887ef3d
Better file naming for AWS XRay Propagator + Add NathanielRN as Propagator owner (#729) 2021-10-12 19:08:16 +00:00
Joshua 9695bcfed3
Add support for HTTPX instrumentation (#461) 2021-06-08 08:28:03 -07:00
alrex 56072a25f0
preparing 1.0.0/0.19b0 release (#384) 2021-03-26 15:22:09 -07:00
Diego Hurtado d89f865221
Sync with Make setters and getters optional (#372) 2021-03-26 10:20:01 -07:00
alrex 10a448ee75
move textmap propagators to opentelemetry.propagators (#355) 2021-03-02 16:47:29 -08:00
Leighton Chen 1c8852f99e
Rename IdsGenerator to IdGenerator (#350) 2021-02-26 14:56:30 -08:00
Diego Hurtado 2fd68a2bf9
Remove Configuration from instrumentations (#285) 2021-02-04 08:02:37 -08:00
(Eliseo) Nathaniel Ruiz Nowell c9075cf1f2
Add readTheDocs (#252)
Co-authored-by: Aaron Abbott <aaronabbott@google.com>
Co-authored-by: alrex <aboten@lightstep.com>
2021-01-26 09:06:39 -08:00