Skip to content

Commit

Permalink
telemetry: remove all telemetry code from eodag
Browse files Browse the repository at this point in the history
  • Loading branch information
dalpasso committed May 28, 2024
1 parent d55657f commit ae8bba6
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 146 deletions.
2 changes: 1 addition & 1 deletion docker/stac-server.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ COPY README.rst README.rst
COPY ./eodag /eodag/eodag

# install eodag
RUN python -m pip install .[all-providers,server,docker]
RUN python -m pip install .[all-providers,server]

# add python path
ENV PYTHONPATH="${PYTHONPATH}:/eodag/eodag/resources"
Expand Down
2 changes: 0 additions & 2 deletions eodag/rest/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
from eodag.rest.types.eodag_search import EODAGSearch
from eodag.rest.types.stac_search import SearchPostRequest, sortby2list
from eodag.rest.utils import format_pydantic_error, str2json, str2list
from eodag.rest.utils.telemetry import telemetry_init
from eodag.utils import parse_header, update_nested_dict
from eodag.utils.exceptions import (
AuthenticationError,
Expand Down Expand Up @@ -882,4 +881,3 @@ async def post_search(request: Request) -> ORJSONResponse:


app.include_router(router)
telemetry_init(app)
135 changes: 0 additions & 135 deletions eodag/rest/utils/telemetry.py

This file was deleted.

1 change: 0 additions & 1 deletion requirements-docker.txt

This file was deleted.

7 changes: 0 additions & 7 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ server =
pygeofilter
starlette
uvicorn
eodag[docker]

notebook = tqdm[notebook]
tutorials =
Expand Down Expand Up @@ -123,12 +122,6 @@ docs =
sphinx-book-theme
sphinx-copybutton
nbsphinx
docker =
opentelemetry-api
opentelemetry-sdk
opentelemetry-exporter-otlp-proto-http
opentelemetry-instrumentation-eodag
opentelemetry-instrumentation-fastapi

[options.packages.find]
exclude =
Expand Down

0 comments on commit ae8bba6

Please sign in to comment.