diff --git a/theodolite/src/main/kotlin/rocks/theodolite/kubernetes/operator/TheodoliteController.kt b/theodolite/src/main/kotlin/rocks/theodolite/kubernetes/operator/TheodoliteController.kt index 9fdc409e159791f30b62f899e0f4d7aa7bcab319..67a9a40fe260c8105e30fef3c9c44436b7a37c5e 100644 --- a/theodolite/src/main/kotlin/rocks/theodolite/kubernetes/operator/TheodoliteController.kt +++ b/theodolite/src/main/kotlin/rocks/theodolite/kubernetes/operator/TheodoliteController.kt @@ -20,7 +20,7 @@ private val logger = KotlinLogging.logger {} const val DEPLOYED_FOR_EXECUTION_LABEL_NAME = "deployed-for-execution" const val DEPLOYED_FOR_BENCHMARK_LABEL_NAME = "deployed-for-benchmark" const val CREATED_BY_LABEL_NAME = "app.kubernetes.io/created-by" -const val CREATED_BY_LABEL_VALUE = "rocks/theodolite" +const val CREATED_BY_LABEL_VALUE = "theodolite" /** * The controller implementation for Theodolite. diff --git a/theodolite/src/main/kotlin/rocks/theodolite/kubernetes/slo/AnalysisExecutor.kt b/theodolite/src/main/kotlin/rocks/theodolite/kubernetes/slo/AnalysisExecutor.kt index de57254167fc0a4b6c8ad707e647cad956daa7d2..96c5a43b85c0db5600d813f9e799903927a53ec3 100644 --- a/theodolite/src/main/kotlin/rocks/theodolite/kubernetes/slo/AnalysisExecutor.kt +++ b/theodolite/src/main/kotlin/rocks/theodolite/kubernetes/slo/AnalysisExecutor.kt @@ -48,9 +48,9 @@ class AnalysisExecutor( ) } - prometheusData.forEach { data -> + prometheusData.forEach{ data -> ioHandler.writeToCSVFile( - fileURL = "${fileURL}_${repetitionCounter++}", + fileURL = "${fileURL}_${slo.name}_${repetitionCounter++}", data = data.getResultAsList(), columns = listOf("labels", "timestamp", "value") )