Skip to content

Commit

Permalink
refactor: move instrumentation code to another package
Browse files Browse the repository at this point in the history
  • Loading branch information
dalpasso committed May 28, 2024
1 parent 0e7b4bd commit d55657f
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 645 deletions.
2 changes: 1 addition & 1 deletion eodag/rest/utils/telemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def telemetry_init(fastapi_app: Optional[FastAPI] = None) -> None:
)
logger.debug("Instrument EODAG app")

from eodag.utils.instrumentation.eodag import EODAGInstrumentor
from opentelemetry.instrumentation.eodag import EODAGInstrumentor

EODAGInstrumentor(eodag_api).instrument(
tracer_provider=tracer_provider,
Expand Down
18 changes: 0 additions & 18 deletions eodag/utils/instrumentation/__init__.py

This file was deleted.

Loading

0 comments on commit d55657f

Please sign in to comment.