Skip to content

Commit

Permalink
Use opentelemetry-instrumentation-aiohttp-server from upstream
Browse files Browse the repository at this point in the history
closes #5833
  • Loading branch information
lubosmj authored and dkliban committed Oct 2, 2024
1 parent 2ad8582 commit dcad800
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 268 deletions.
1 change: 1 addition & 0 deletions CHANGES/5833.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Started using an upstream version of the OpenTelemetry aiohttp server instrumentation.
2 changes: 1 addition & 1 deletion pulpcore/content/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from asgiref.sync import sync_to_async
from aiohttp import web

from .instrumentation import middleware as instrumentation
from opentelemetry.instrumentation.aiohttp_server import middleware as instrumentation

import django

Expand Down
267 changes: 0 additions & 267 deletions pulpcore/content/instrumentation.py

This file was deleted.

1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ PyOpenSSL<25.0
opentelemetry-distro[otlp]>=0.45b0,<=0.48b0
opentelemetry-exporter-otlp-proto-http>=1.24.0,<=1.27.0
opentelemetry-instrumentation-wsgi>=0.45b,<=0.48b0
opentelemetry-instrumentation-aiohttp-server>=0.45b,<=0.48b
protobuf>=4.21.1,<5.0
pulp-glue>=0.18.0,<0.30
pygtrie>=2.5,<=2.5.0
Expand Down

0 comments on commit dcad800

Please sign in to comment.