Commit Graph

36 Commits

Author SHA1 Message Date
Emídio Neto 529178d9ae
Fix wrong unit in Flask new semconv test (#2645) 2024-07-01 09:35:10 -07:00
Leighton Chen b94c5906fd
Use generated symbols from semantic conventions package (#2611) 2024-06-17 09:20:17 -07:00
Leighton Chen c8d5f851ed
HTTP transition for flask (#2454) 2024-04-25 10:40:03 -07:00
Leighton Chen 2317adcc34
HTTP transition for wsgi (#2425) 2024-04-19 10:59:05 -07:00
Samuel Colvin 5207a78460
avoid losing repeated HTTP headers (#2266)
* avoid loosing repeated HTTP headers

* fix fof wsgi, test in falcon

* add changelog

* add more tests

* linting

* fix falcon and flask

* remove unused test

---------

Co-authored-by: Leighton Chen <lechen@microsoft.com>
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2024-03-21 11:30:54 -06: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
Liudmila Molkova 4f6618324d
Set schema_url on all tracers and meters (#1977) 2023-11-06 11:39:51 -08:00
Jakub Warczarek 6007e0c013
Merge pull request from GHSA-5rv5-6h4r-h22v
* Fix unbound cardinality for label http_method in wsgi based middlewares

* cr: rename file

* cr: change label UNKNOWN to NONSTANDARD

* Update instrumentation/opentelemetry-instrumentation-wsgi/src/opentelemetry/instrumentation/wsgi/__init__.py

---------

Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2023-08-15 13:17:14 -07:00
Maciej Nachtygal 743ac64661
Issue #1757 - Update HTTP server/client instrumentation span names (#1759)
Co-authored-by: Shalev Roda <65566801+shalevr@users.noreply.github.com>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2023-06-16 00:21:05 +02:00
Dan Rogers 26d3343428
Add support for regular expression matching and sanitizing of headers in Flask. (#1413)
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2022-10-29 08:12:06 +00:00
Anshul Asawa ebe6d1804b
Metrics instrumentation flask (#1186) 2022-08-05 07:47:14 +00:00
Srikanth Chekuri 0007c9046c
Add metric instrumentation for WSGI (#1128) 2022-06-22 03:54:05 +05:30
Ashutosh Goel c60a7e46ab
Flask: Capture custom request/response headers as span attributes (#952)
* Capture request/response headers for flask

* Update changelog and fixed lint errors
2022-03-09 11:52:06 +00:00
Ashutosh Goel 30d0c2ea90
Conditionally create server spans for flask (#828)
* Making span as internal in presence of a span in current context

* Updating changelog

* Removing extra print statements

* Resolving comments: Setting current context as parent in its presence

* Ignoring pylint check as django.conf.urls.url is removed in django 4.0
Django release notes: https://docs.djangoproject.com/en/4.0/releases/4.0/

* Removing changes in django files
2021-12-20 11:48:59 +00:00
Owais Lone 3137c1fa41
Upgrade black (#802) 2021-11-10 20:57:01 +00:00
alrex face2a3272
refactor common test code to use utility method (#700) 2021-10-14 22:19:02 +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
Matt Oberle 14b0a3fdaf
Provide excluded_urls argument to Flask instrumentation (#604) 2021-07-29 13:22:28 -07:00
Leighton Chen 56da6d74df
Consistent way of not instrumenting multiple times (#549) 2021-07-09 09:55:44 -07:00
Nick fbd39ccaac
[FLASK] added request and response hook (#416) 2021-06-01 14:44:24 -07:00
Srikanth Chekuri 3ec77360cb
Update instrumentations to use tracer_provider for creating tracer if given, otherwise use global tracer provider (#402) 2021-04-28 08:36:37 -07:00
Srikanth Chekuri 8d0c150b31
Sync with auto generated semantic convention constants (#428) 2021-04-19 23:37:10 -07:00
Owais Lone 308369004c
Added opt-in support to return traceresponse headers for server instrumentations. (#436) 2021-04-19 12:03:31 -07:00
Srikanth Chekuri 370952f684
Remove http.status_text from span attributes (#406) 2021-04-08 09:40:20 -07:00
Owais Lone f436514554
Replaced Tracer.use_span() with opentelemetry.trace.use_span() (#364) 2021-03-08 09:33:49 -08:00
Diego Hurtado 2fd68a2bf9
Remove Configuration from instrumentations (#285) 2021-02-04 08:02:37 -08:00
Mario Jonke f0adb23143
Remove 'component' span attribute in instrumentations (#301) 2021-01-29 13:15:26 -08:00
Sergei Malafeev 11a06db3d5
Rename "host.port" attribute to "net.host.port" (#242) 2020-12-11 07:55:11 -08:00
Srikanth Chekuri a403b65183
Use Config class methods for common purposes (#220) 2020-12-04 10:18:25 -08:00
Srikanth Chekuri 9657e3809a Lint fix 2020-11-18 19:33:28 +05:30
Srikanth Chekuri cee66ec04f Add callback for direct instrument 2020-11-18 19:06:33 +05:30
Srikanth Chekuri 6cf6e77f76 Fix lint issues 2020-11-09 19:32:36 +05:30
Srikanth Chekuri ab16d1f1a6 Add custom span name hook for Flask 2020-11-06 01:35:17 +05:30
Leighton Chen d38463ad70 Use url.rule instead of request.endpoint for span name flask instrumentation (#1260) 2020-10-21 10:08:33 -07:00
Leighton Chen db634d64f2 Use is_recording flag in flask, django, tornado, boto, botocore instrumentations (#1164) 2020-09-30 07:36:57 -07:00
Leighton Chen 26eefe46cf Rename web framework packages from "ext" to "instrumentation" (#961) 2020-08-03 10:10:45 -07:00