diff --git a/kotlin/goodmetrics/src/main/kotlin/goodmetrics/downstream/GoodmetricsClient.kt b/kotlin/goodmetrics/src/main/kotlin/goodmetrics/downstream/GoodmetricsClient.kt index 46ab91e..aa77ed1 100644 --- a/kotlin/goodmetrics/src/main/kotlin/goodmetrics/downstream/GoodmetricsClient.kt +++ b/kotlin/goodmetrics/src/main/kotlin/goodmetrics/downstream/GoodmetricsClient.kt @@ -54,6 +54,7 @@ class GoodmetricsClient private constructor( for ((measurement, aggregation) in measurementMap) { templateDatum.measurementsMap[measurement] = aggregation.toProto() } + this.metrics.add(templateDatum) } } }