@Override
    public Map<String, String> getTags() {
        return hostTags(gitTags(MetricsSupport.applicationTags(applicationModel, getExtraInfo())));
    }
@Test
    void getTags() {
        ApplicationModel applicationModel = ApplicationModel.defaultModel();
        String mockMetrics = "MockMetrics";
        applicationModel
                .getApplicationConfigManager()
                .setApplication(new org.apache.dubbo.config.ApplicationConfig(mockMetrics));
        ApplicationMetric applicationMetric = new ApplicationMetric(applicationModel);
        Map<String, String> tags = applicationMetric.getTags();
        Assertions.assertEquals(tags.get(TAG_IP), getLocalHost());
        Assertions.assertEquals(tags.get(TAG_HOSTNAME), getLocalHostName());
        Assertions.assertEquals(tags.get(TAG_APPLICATION_NAME), applicationModel.getApplicationName());
        Assertions.assertEquals(tags.get(METADATA_GIT_COMMITID_METRIC.getName()), Version.getLastCommitId());
    }