opentelemetry-python-contrib icon indicating copy to clipboard operation
opentelemetry-python-contrib copied to clipboard

opentelemetry-instrumentation-django cannot support Dajngo 1.11

Open unique0lai opened this issue 5 years ago • 4 comments

https://github.com/open-telemetry/opentelemetry-python-contrib/blob/2bd60536cc889768c54170757d7715a483d8b22f/instrumentation/opentelemetry-instrumentation-django/src/opentelemetry/instrumentation/django/middleware.py#L174

https://docs.djangoproject.com/en/2.2/ref/urlresolvers/#django.urls.ResolverMatch.route "route" is not exists before Django 2.2

unique0lai avatar May 26 '21 02:05 unique0lai

Django 1.11 ended mainstream support 3 years ago, and LTS support ended just over 1 year ago (handy table). I'd guess it's is a bit too old to support at this point?

That said, it would be good to understand from a design perspective the intent for support planned for other frameworks. I looked in the contribution guidelines and READMEs but didn't find anything too obvious!

daneah avatar May 26 '21 20:05 daneah

Django 1.11 ended mainstream support 3 years ago, and LTS support ended just over 1 year ago (handy table). I'd guess it's is a bit too old to support at this point?

That said, it would be good to understand from a design perspective the intent for support planned for other frameworks. I looked in the contribution guidelines and READMEs but didn't find anything too obvious!

We haven't made a decision on which versions of which frameworks are to be supported. Nevertheless, this may no longer be relevant after #475 is merged.

ocelotl avatar May 26 '21 23:05 ocelotl

OK. If it can not support Django 1.11, the install_required should be update. The supported Django version should be clear.

unique0lai avatar May 30 '21 11:05 unique0lai

Django 1.11 ended mainstream support 3 years ago, and LTS support ended just over 1 year ago (handy table). I'd guess it's is a bit too old to support at this point? That said, it would be good to understand from a design perspective the intent for support planned for other frameworks. I looked in the contribution guidelines and READMEs but didn't find anything too obvious!

Like @ocelotl said, we don't have any guidelines yet but in general I think we wouldn't add support for very old versions but if we already support a version, I don't think we'd drop it as the library is EOLed unless it becomes too painful to support very old and latest versions at the same time.

owais avatar Jun 01 '21 22:06 owais