def configure_jmx_metrics(config):
    """
    Adds JMX metrics exporter bean into the Ignite node configuration

    :param config: configuration object to be modified
    :return: the updated configuration object
    """
    if config.metrics_update_frequency is None:
        config = config._replace(metrics_update_frequency=1000)

    config.metric_exporters.add("org.apache.ignite.spi.metric.jmx.JmxMetricExporterSpi")

    return config