Commit Graph

24 Commits

Author SHA1 Message Date
alrex face2a3272
refactor common test code to use utility method (#700) 2021-10-14 22:19:02 +00:00
Michael Manganiello 5105820fff
Add Django ASGI support (#391) 2021-10-12 10:28:03 -07: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
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 1ee8924cfb
Support request and resposne hooks for Django instrumentation (#407) 2021-04-08 08:06:41 -07:00
alrex 9315eb0fb2
use StatusCode from trace instead of trace.status (#366) 2021-03-09 14:33:13 -08:00
Owais Lone f436514554
Replaced Tracer.use_span() with opentelemetry.trace.use_span() (#364) 2021-03-08 09:33:49 -08:00
Leighton Chen c265e2f035
Remove metrics from main branch (#312) 2021-02-05 16:41:03 -08:00
Diego Hurtado 2fd68a2bf9
Remove Configuration from instrumentations (#285) 2021-02-04 08:02:37 -08:00
Srikanth Chekuri 744e961080
Update instrumentations (#232) 2020-12-07 08:29:57 -08:00
Srikanth Chekuri a403b65183
Use Config class methods for common purposes (#220) 2020-12-04 10:18:25 -08:00
zhutianyu 2504416734 Bugfix django instrumentation (#1309) 2020-11-01 19:50:17 -08:00
Leighton Chen b5b81db05f Change status codes from grpc status codes, remove setting status in instrumentations except on ERROR (#1282) 2020-10-28 14:28:58 -07:00
Owais Lone fa77bb85a7 Django: Record status, http.status_code and event on exception (#1257) 2020-10-21 09:01:49 -07:00
Leighton Chen ad1ed83571 Adding metric collection as part of instrumentations - Django (#1230) 2020-10-15 17:24:29 -07:00
stschenk d4b3dac596 Add capture of http.route to DjangoInstrumentor middleware (#1226) 2020-10-15 12:34:32 -07:00
Leighton Chen 7fef6fa47c Use is_recording flag in aiopg, asyncpg, dbapi, psycopg2, pymemcache, pymongo, redis, sqlalchemy instrumentations (#1212) 2020-10-08 12:25:20 -07:00
Leighton Chen 287e026060 Use is_recording flag in flask, django, tornado, boto, botocore instrumentations (#1164) 2020-09-30 07:36:57 -07:00
Owais Lone e3199ac411 Added ability to extract span attributes from django request objects. (#1154)
OTEL_PYTHON_DJANGO_TRACED_REQUEST_ATTRS env var can be set to a command
separated list of attributes names that will be extracted from Django's
request object and set as attributes on spans.
2020-09-28 21:52:11 -07:00
HiveTraum 06511cd31a Django span names according to convention (#992) 2020-09-21 13:30:03 -07:00
Leighton Chen b372486958 Rename web framework packages from "ext" to "instrumentation" (#961) 2020-08-03 10:10:45 -07:00