zephyring commented on code in PR #25118:
URL: https://github.com/apache/superset/pull/25118#discussion_r1309420942
##########
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:
something like
```suggestion
STATS_LOGGER_METRICS_DENYLIST: Set[str] = {}
STATS_LOGGER = StatsdStatsLogger(host='localhost', port=8125,
prefix='superset', metrics_denylist=STATS_LOGGER_METRICS_DENYLIST)
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]