Skip to content

Commit

Permalink
revert include_hostname logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam-Shedivy authored and ThePrez committed Apr 2, 2023
1 parent 208b8a4 commit 93ab6bb
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ private Gauge getGauge(String _gaugeName, final String _help) {

private String getGaugeName(String _columnName, String _rowName) {
String ret = "";
if (m_includeHostname) {
ret += m_config.getHostNameForDisplay().replaceAll("\\..*", "") + "__";
}
if (StringUtils.isNonEmpty(m_gaugePrefix)) {
ret += m_gaugePrefix + "__";
}
Expand Down

0 comments on commit 93ab6bb

Please sign in to comment.