GabrielBrascher commented on a change in pull request #3078: Add influxdb to
statscollector
URL: https://github.com/apache/cloudstack/pull/3078#discussion_r240586021
##########
File path:
utils/src/main/java/org/apache/cloudstack/utils/graphite/GraphiteClient.java
##########
@@ -67,7 +67,7 @@ protected long getCurrentSystemTime() {
*
* @param metrics the metrics as key-value-pairs
*/
- public void sendMetrics(Map<String, Integer> metrics) {
+ public void sendMetrics(Map<Object, Object> metrics) {
Review comment:
@DaanHoogland this method was restricted to the Graphite workflow; I needed
to send another type of Objects for InfluxDB. I could create two different
metrics maps or make a generic map of metrics. You can check lines 600 and 603
of `StatsCollector.java` to see the points where I need to use the map for both
cases.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services