public Meter getBrokerMeter() {
        return brokerMeter;
    }
@Test
    public void testCreateMetricsManagerLogType() throws CloneNotSupportedException {
        BrokerConfig brokerConfig = new BrokerConfig();
        brokerConfig.setMetricsExporterType(MetricsExporterType.LOG);
        brokerConfig.setMetricsLabel("label1:value1;label2:value2");
        brokerConfig.setMetricsOtelCardinalityLimit(1);

        MessageStoreConfig messageStoreConfig = new MessageStoreConfig();
        String storePathRootDir = System.getProperty("java.io.tmpdir") + File.separator + "store-"
                + UUID.randomUUID();
        messageStoreConfig.setStorePathRootDir(storePathRootDir);

        NettyServerConfig nettyServerConfig = new NettyServerConfig();
        nettyServerConfig.setListenPort(0);

        BrokerController brokerController = new BrokerController(brokerConfig, nettyServerConfig,
                new NettyClientConfig(), messageStoreConfig);
        brokerController.initialize();

        BrokerMetricsManager metricsManager = new BrokerMetricsManager(brokerController);

        assertThat(metricsManager.getBrokerMeter()).isNotNull();
    }