diff --git a/api/datalake_api/sentry.py b/api/datalake_api/sentry.py new file mode 100644 index 0000000..e69de29 diff --git a/api/datalake_api/v0.py b/api/datalake_api/v0.py index 376c49b..87c4aea 100644 --- a/api/datalake_api/v0.py +++ b/api/datalake_api/v0.py @@ -23,7 +23,7 @@ from .fetcher import ArchiveFileFetcher from datalake.common.errors import NoSuchDatalakeFile from datalake.common.metadata import Metadata, InvalidDatalakeMetadata - +import sentry v0 = flask.Blueprint('v0', __name__, url_prefix='/v0') @@ -475,6 +475,7 @@ def _validate_latest_params(params): return validated +@sentry.monitor_performance() @v0.route('/archive/latest//') def latest_get(what, where): '''Retrieve the latest file for a give what and where