OTEL_METRICS_EXPORTER=none OTEL_RESOURCE_ATTRIBUTES=service.name=testApp OTEL_EXPORTER_OTLP_ENDPOINT="
http://127.0.0.1:4317" opentelemetry-instrument ./manage.py runserver 0.0.0.0:8000
You are using Python 3.6. This version does not support timestamps with nanosecond precision and the OpenTelemetry SDK will use millisecond precision instead. Please refer to PEP 564 for more information. Please upgrade to Python 3.7 or newer to use nanosecond precision.
Instrumenting of django failed
Traceback (most recent call last):
File "/home/cmkishores/.virtualenvs/entri/lib/python3.6/site-packages/opentelemetry/instrumentation/auto_instrumentation/sitecustomize.py", line 81, in _load_instrumentors
distro.load_instrumentor(entry_point, skip_dep_check=True)
File "/home/cmkishores/.virtualenvs/entri/lib/python3.6/site-packages/opentelemetry/instrumentation/distro.py", line 63, in load_instrumentor
instrumentor().instrument(**kwargs)
File "/home/cmkishores/.virtualenvs/entri/lib/python3.6/site-packages/opentelemetry/instrumentation/instrumentor.py", line 106, in instrument
**kwargs
File "/home/cmkishores/.virtualenvs/entri/lib/python3.6/site-packages/opentelemetry/instrumentation/django/__init__.py", line 132, in _instrument
settings_middleware = getattr(settings, "MIDDLEWARE", [])
File "/home/cmkishores/.virtualenvs/entri/lib/python3.6/site-packages/django/conf/__init__.py", line 79, in
getattr
self._setup(name)
File "/home/cmkishores/.virtualenvs/entri/lib/python3.6/site-packages/django/conf/__init__.py", line 64, in _setup
% (desc, ENVIRONMENT_VARIABLE))
django.core.exceptions.ImproperlyConfigured: Requested setting MIDDLEWARE, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
Failed to auto initialize opentelemetry
Traceback (most recent call last):
File "/home/cmkishores/.virtualenvs/entri/lib/python3.6/site-packages/opentelemetry/instrumentation/auto_instrumentation/sitecustomize.py", line 111, in initialize
_load_instrumentors(distro)
File "/home/cmkishores/.virtualenvs/entri/lib/python3.6/site-packages/opentelemetry/instrumentation/auto_instrumentation/sitecustomize.py", line 85, in _load_instrumentors
raise exc
File "/home/cmkishores/.virtualenvs/entri/lib/python3.6/site-packages/opentelemetry/instrumentation/auto_instrumentation/sitecustomize.py", line 81, in _load_instrumentors
distro.load_instrumentor(entry_point, skip_dep_check=True)
File "/home/cmkishores/.virtualenvs/entri/lib/python3.6/site-packages/opentelemetry/instrumentation/distro.py", line 63, in load_instrumentor
instrumentor().instrument(**kwargs)
File "/home/cmkishores/.virtualenvs/entri/lib/python3.6/site-packages/opentelemetry/instrumentation/instrumentor.py", line 106, in instrument
**kwargs
File "/home/cmkishores/.virtualenvs/entri/lib/python3.6/site-packages/opentelemetry/instrumentation/django/__init__.py", line 132, in _instrument
settings_middleware = getattr(settings, "MIDDLEWARE", [])
File "/home/cmkishores/.virtualenvs/entri/lib/python3.6/site-packages/django/conf/__init__.py", line 79, in
getattr
self._setup(name)
File "/home/cmkishores/.virtualenvs/entri/lib/python3.6/site-packages/django/conf/__init__.py", line 64, in _setup
% (desc, ENVIRONMENT_VARIABLE))
django.core.exceptions.ImproperlyConfigured: Requested setting MIDDLEWARE, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
/home/cmkishores/.virtualenvs/entri/lib/python3.6/site-packages/psycopg2/__init__.py
144 UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <
http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
""")
/home/cmkishores/.virtualenvs/entri/lib/python3.6/site-packages/psycopg2/__init__.py
144 UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <
http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
""")
Watching for file changes with StatReloader
INFO
django.utils.autoreloadWatching for file changes with StatReloader
Performing system checks.