Hawkular Metrics can read configuration from different sources, listed below in order of precedence:
-
System property (i.e. -Dhawkular-metrics.cassandra-nodes=127.0.0.1
)
-
Environment variable (i.e CASSANDRA_NODES=127.0.0.1
)
-
External file, in the form of a Java Properties file (i.e hawkular-metrics.cassandra-nodes=127.0.0.1
)