Skip to content

Commit

Permalink
chore(async queries): sending statsd event for async events API call (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
Zef Lin authored Dec 13, 2023
1 parent 578a899 commit 334e159
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion superset/async_events/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

from superset.async_events.async_query_manager import AsyncQueryTokenException
from superset.extensions import async_query_manager, event_logger
from superset.views.base_api import BaseSupersetApi
from superset.views.base_api import BaseSupersetApi, statsd_metrics

logger = logging.getLogger(__name__)

Expand All @@ -36,6 +36,7 @@ class AsyncEventsRestApi(BaseSupersetApi):
@event_logger.log_this
@protect()
@safe
@statsd_metrics
@permission_name("list")
def events(self) -> Response:
"""
Expand Down

0 comments on commit 334e159

Please sign in to comment.