From 29ac870b5d1f18a8fb0bacae70a9fc9003c450fd Mon Sep 17 00:00:00 2001 From: timofeevmd Date: Thu, 1 Feb 2024 18:33:21 +0400 Subject: [PATCH] updated pushgateway route Signed-off-by: timofeevmd --- src/main/java/jp/co/soramitsu/load/toolbox/Grinder.java | 2 +- src/main/kotlin/jp/co/soramitsu/load/toolbox/Wrench13.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/jp/co/soramitsu/load/toolbox/Grinder.java b/src/main/java/jp/co/soramitsu/load/toolbox/Grinder.java index effd746..ba65441 100644 --- a/src/main/java/jp/co/soramitsu/load/toolbox/Grinder.java +++ b/src/main/java/jp/co/soramitsu/load/toolbox/Grinder.java @@ -6,7 +6,7 @@ import java.util.ArrayList; public class Grinder extends Wrench13 { - private String baseUrl = "http://0.0.0.0:9091/metrics/job/"; + private String baseUrl = "http://pushgateway:9091/metrics/job/"; private URL transactionUrl = new URL(baseUrl + "transaction/"); private URL subscriptionUrl = new URL(baseUrl + "subscription/"); private URL queryUrl = new URL(baseUrl + "query/"); diff --git a/src/main/kotlin/jp/co/soramitsu/load/toolbox/Wrench13.kt b/src/main/kotlin/jp/co/soramitsu/load/toolbox/Wrench13.kt index acfe9ec..5ee1636 100644 --- a/src/main/kotlin/jp/co/soramitsu/load/toolbox/Wrench13.kt +++ b/src/main/kotlin/jp/co/soramitsu/load/toolbox/Wrench13.kt @@ -37,7 +37,7 @@ open class Wrench13 { var attemptsPersentage: Int = 2 var attempt: Int = 0 var anotherDevDomainIdList: MutableList = mutableListOf() - var pushGateway = PushGateway("0.0.0.0:9091") + var pushGateway = PushGateway("pushgateway:9091") lateinit var currentDevAccountId: AccountId lateinit var currentDevKeyPair: KeyPair