presto-main/src/main/java/io/prestosql/execution/scheduler/NodeSchedulerExporter.java/NodeSchedulerExporter/NodeSchedulerExporter
class NodeSchedulerExporter:    @Inject
    public NodeSchedulerExporter(TopologyAwareNodeSelectorFactory nodeSelectorFactory, MBeanExporter exporter)
    {
        requireNonNull(nodeSelectorFactory, "nodeSelectorFactory is null");
        requireNonNull(exporter, "exporter is null");
        for (Map.Entry<String, CounterStat> entry : nodeSelectorFactory.getPlacementCountersByName().entrySet()) {
            try {
                mbeanExports.add(exporter.exportWithGeneratedName(entry.getValue(), NodeScheduler.class, ImmutableMap.of("segment", entry.getKey())));
            }
            catch (JmxException e) {
                // ignored
            }
        }
    }