Skip to content

Commit 3db7d18

Browse files
committed
[breaking] metrics - prefixed every graphite settings with 'restx.' to avoid collision with pre-existing properties defined in the app server.
This fixes #135
1 parent 4c139a7 commit 3db7d18

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

restx-monitor-admin/src/main/java/restx/monitor/GraphiteSettings.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@
1010
*/
1111
@Settings
1212
public interface GraphiteSettings {
13-
@SettingsKey(key = "graphite.host", doc = "the host at which a graphite server is listening to collect metrics info" +
13+
@SettingsKey(key = "restx.graphite.host", doc = "the host at which a graphite server is listening to collect metrics info" +
1414
" - set it to activate graphite reporting")
1515
Optional<String> getGraphiteHost();
16-
@SettingsKey(key = "graphite.port", doc = "the port at which a graphite server is listening to collect metrics info")
16+
@SettingsKey(key = "restx.graphite.port", doc = "the port at which a graphite server is listening to collect metrics info")
1717
Optional<Integer> getGraphitePort();
1818

19-
@SettingsKey(key = "graphite.reporter.frequency", doc = "the frequency at which data is sent to graphite", defaultValue = "1")
19+
@SettingsKey(key = "restx.graphite.reporter.frequency", doc = "the frequency at which data is sent to graphite", defaultValue = "1")
2020
Optional<Integer> getFrequency();
21-
@SettingsKey(key = "graphite.reporter.frequency.unit", doc = "the unit in which frequency is expressed", defaultValue = "MINUTES")
21+
@SettingsKey(key = "restx.graphite.reporter.frequency.unit", doc = "the unit in which frequency is expressed", defaultValue = "MINUTES")
2222
Optional<String> getFrequencyUnit();
2323

24-
@SettingsKey(key = "graphite.prefix", doc = "the value prepended to all metrics names which are sent to graphite")
24+
@SettingsKey(key = "restx.graphite.prefix", doc = "the value prepended to all metrics names which are sent to graphite")
2525
Optional<String> getPrefix();
2626
}

0 commit comments

Comments
 (0)