zephyring commented on code in PR #25118: URL: https://github.com/apache/superset/pull/25118#discussion_r1309472327
########## docs/docs/installation/event-logging.mdx: ########## @@ -56,5 +56,13 @@ from superset.stats_logger import StatsdStatsLogger STATS_LOGGER = StatsdStatsLogger(host='localhost', port=8125, prefix='superset') ``` +You can also pass metric names that should be ignored via an optional `metric_denylist` parameter: + +``` +STATS_LOGGER = StatsdStatsLogger(host='localhost', port=8125, prefix='superset', metric_denylist={"reports.scheduler"}) Review Comment: If promoting to be a config, we can just override the config and use the default `StatsdStatsLogger` logger. If later on there's any default in the denylist that will be easier to reference and merge/override also -- 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. To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org