Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以直接通过 html.erb 文件在 sonarqube 仪表板上显示指标值?我的指标之一是排名
我可以只写<%= format_measure('Rank') %>显示在仪表板上吗?这不会在仪表板上打印任何内容。
<%= format_measure('Rank') %>
format_measure确实是打印出小部件中度量值的正确助手。
format_measure
您看不到该指标的度量可能有多种原因:
在任何情况下,您都可以查看我们的示例插件以了解更多信息,尤其是小部件模板。