23 Commits

Author SHA1 Message Date
fc547877d3 Remove use of httpbin (#1854) 2023-06-13 10:30:52 +00:00
b513d1f910 Audit and test opentelemetry-instrumentation-wsgi NoOpTracerProvider (#1610) 2023-02-13 22:55:13 +00:00
542494146d Add support for regular expression matching and sanitizing of headers in WSGI. (#1402) 2022-10-27 09:45:22 +05:30
d75194aed7 Sync with sdk setup from setUpClass to setUp (#1193) 2022-07-19 02:02:13 +05:30
0007c9046c Add metric instrumentation for WSGI (#1128) 2022-06-22 03:54:05 +05:30
fcba751969 [instrumentation/wsgi] fix NonRecordingSpan bug (#957)
* [instrumentation/wsgi] fix NonRecordingSpan bug

There was a bug caused by accessing `.kind` on a NonRecordingSpan. Added a test to validate the fix.

Fix #956

* fix lint

* use is_recording

* fix lint

* fix lint

* fix lint
2022-03-10 12:02:49 -06:00
2f5bbc416a Capture custom request/response headers for wsgi and change in passing response_headers in django, pyramid (#925) 2022-03-07 09:41:46 -08:00
454f4b1511 code changes to resolve conditional server span creation for WSGI and adding 'attributes' parameter to util function (#903)
* code changes to resolve conditional server span creation for WSGI (https://github.com/open-telemetry/opentelemetry-python-contrib/issues/454)

* Adding entry to changelog.md

* modifying _start_internal_or_server_span() to add attributes as a parameter. Also calling _start_internal_or_server_span() in WSGI instrumentation

* resolving flake8 and typo issues
2022-02-08 22:03:18 -06:00
3137c1fa41 Upgrade black (#802) 2021-11-10 20:57:01 +00:00
5b43a5993d fix missing dep in docs build (#557) 2021-06-30 12:49:45 -07:00
865837f757 Ensure clean http url (#538) 2021-06-11 09:01:52 -07:00
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
8d0c150b31 Sync with auto generated semantic convention constants (#428) 2021-04-19 23:37:10 -07:00
96b0f592b7 Replaced WSGI name callback with request/response hooks (#424) 2021-04-14 08:18:47 -07:00
370952f684 Remove http.status_text from span attributes (#406) 2021-04-08 09:40:20 -07:00
9315eb0fb2 use StatusCode from trace instead of trace.status (#366) 2021-03-09 14:33:13 -08:00
f436514554 Replaced Tracer.use_span() with opentelemetry.trace.use_span() (#364) 2021-03-08 09:33:49 -08:00
f0adb23143 Remove 'component' span attribute in instrumentations (#301) 2021-01-29 13:15:26 -08:00
11a06db3d5 Rename "host.port" attribute to "net.host.port" (#242) 2020-12-11 07:55:11 -08:00
913ae1f40f Change status codes from grpc status codes, remove setting status in instrumentations except on ERROR (#1282) 2020-10-28 14:28:58 -07:00
7addc1e403 instrumentation/wsgi: Use is_recording flag in wsgi instrumentation (#1122) 2020-09-21 08:38:58 -07:00
59f7e94644 Add HTTP user-agent in WSGI instrumentation (#964) 2020-08-04 09:22:22 -07:00
d19b464a0a Rename web framework packages from "ext" to "instrumentation" (#961) 2020-08-03 10:10:45 -07:00