27 Commits

Author SHA1 Message Date
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
ebe6d1804b Metrics instrumentation flask (#1186) 2022-08-05 07:47:14 +00:00
0007c9046c Add metric instrumentation for WSGI (#1128) 2022-06-22 03:54:05 +05:30
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
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
3137c1fa41 Upgrade black (#802) 2021-11-10 20:57:01 +00:00
face2a3272 refactor common test code to use utility method (#700) 2021-10-14 22:19:02 +00:00
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
14b0a3fdaf Provide excluded_urls argument to Flask instrumentation (#604) 2021-07-29 13:22:28 -07:00
56da6d74df Consistent way of not instrumenting multiple times (#549) 2021-07-09 09:55:44 -07:00
fbd39ccaac [FLASK] added request and response hook (#416) 2021-06-01 14:44:24 -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
308369004c Added opt-in support to return traceresponse headers for server instrumentations. (#436) 2021-04-19 12:03:31 -07:00
370952f684 Remove http.status_text from span attributes (#406) 2021-04-08 09:40:20 -07:00
f436514554 Replaced Tracer.use_span() with opentelemetry.trace.use_span() (#364) 2021-03-08 09:33:49 -08:00
2fd68a2bf9 Remove Configuration from instrumentations (#285) 2021-02-04 08:02:37 -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
a403b65183 Use Config class methods for common purposes (#220) 2020-12-04 10:18:25 -08:00
9657e3809a Lint fix 2020-11-18 19:33:28 +05:30
cee66ec04f Add callback for direct instrument 2020-11-18 19:06:33 +05:30
6cf6e77f76 Fix lint issues 2020-11-09 19:32:36 +05:30
ab16d1f1a6 Add custom span name hook for Flask 2020-11-06 01:35:17 +05:30
d38463ad70 Use url.rule instead of request.endpoint for span name flask instrumentation (#1260) 2020-10-21 10:08:33 -07:00
db634d64f2 Use is_recording flag in flask, django, tornado, boto, botocore instrumentations (#1164) 2020-09-30 07:36:57 -07:00
26eefe46cf Rename web framework packages from "ext" to "instrumentation" (#961) 2020-08-03 10:10:45 -07:00