美文网首页
IDEA-找回Springboot Dashboard

IDEA-找回Springboot Dashboard

作者: 潘志捷 | 来源:发表于2018-11-06 14:04 被阅读0次
    1. 找到项目目录下的.idea/workspace.xml文件
    2. 找到dashboard配置
      <component name="RunDashboard">
        <option name="ruleStates">
          <list>
            <RuleState>
              <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
            </RuleState>
            <RuleState>
              <option name="name" value="StatusDashboardGroupingRule" />
            </RuleState>
          </list>
        </option>
      </component>
    
    1. 添加配置
      <component name="RunDashboard">
        <option name="configurationTypes">
          <set>
            <option value="SpringBootApplicationConfigurationType" />
          </set>
        </option>
        <option name="ruleStates">
          <list>
            <RuleState>
              <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
            </RuleState>
            <RuleState>
              <option name="name" value="StatusDashboardGroupingRule" />
            </RuleState>
          </list>
        </option>
      </component>
    
    1. 出现dashboard面板


      dashboard.png

    相关文章

      网友评论

          本文标题:IDEA-找回Springboot Dashboard

          本文链接:https://www.haomeiwen.com/subject/fthuxqtx.html