dpgaspar commented on a change in pull request #11714:
URL: 
https://github.com/apache/incubator-superset/pull/11714#discussion_r528863946



##########
File path: superset/datasets/api.py
##########
@@ -181,6 +181,7 @@ class DatasetRestApi(BaseSupersetModelRestApi):
     @protect()
     @safe
     @statsd_metrics
+    @event_logger.log_this

Review comment:
       It's not good to have duplicate statsd metrics being sent, we can change 
the `log_this` decorator signature so we can pass a parameter to it (does it 
imply a bit refactor?) or address this later




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to