From 5c0bec28a6966ba430457b6c4aee5bdcfce9a1a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20V=C3=AEjial=C4=83?= Date: Sat, 28 Jan 2023 14:53:07 +0200 Subject: [PATCH] fix lockfile: telemetry requests --- Pipfile.lock | 10 +++++++++- snoop/data/tracing.py | 2 -- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Pipfile.lock b/Pipfile.lock index 714f3622..f9e5d056 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "7a97c508d4127480f23866e4be4a3cef5ba18bd21b5133c5a32d81f0d90ee650" + "sha256": "a5d12c1dbeb048ea56a779ae857161bb6f8eaf446c012dc41b347c9f8bf23ab8" }, "pipfile-spec": 6, "requires": { @@ -784,6 +784,14 @@ "index": "pypi", "version": "==0.36b0" }, + "opentelemetry-instrumentation-requests": { + "hashes": [ + "sha256:39c65951a6bab3d41ec45a4ef42d8c1cdfeb618aa69da7177ad8958be12aee02", + "sha256:c40a075597325644e782e79e12065dfd8e363beac5259b89acda54c1d79a250c" + ], + "index": "pypi", + "version": "==0.36b0" + }, "opentelemetry-instrumentation-wsgi": { "hashes": [ "sha256:16c9ea4fecf0d8e5af38508e3c5281245bc88cfa0cea00ca16bbbbfdbc24185a", diff --git a/snoop/data/tracing.py b/snoop/data/tracing.py index bfe11d79..d6715313 100644 --- a/snoop/data/tracing.py +++ b/snoop/data/tracing.py @@ -16,7 +16,6 @@ from opentelemetry.instrumentation.psycopg2 import Psycopg2Instrumentor from opentelemetry.instrumentation.logging import LoggingInstrumentor from opentelemetry.instrumentation.requests import RequestsInstrumentor -from opentelemetry.instrumentation.elasticsearch import ElasticsearchInstrumentor # commented out because of leaked socket warning, but it seems to be harmless as it uses same fd # from opentelemetry.instrumentation.celery import CeleryInstrumentor @@ -43,7 +42,6 @@ def init_tracing(_from): Psycopg2Instrumentor().instrument(skip_dep_check=True) DjangoInstrumentor().instrument() RequestsInstrumentor().instrument() - ElasticsearchInstrumentor().instrument() # CeleryInstrumentor().instrument()