Skip to content

Commit

Permalink
Fix wrongly added brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
SoerenHenning committed Nov 20, 2023
1 parent d8fc284 commit c407015
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class MetricFetcher(private val prometheusURL: String, private val offset: Durat
val encodedQuery = URLEncoder.encode(query, StandardCharsets.UTF_8)
val request = HttpRequest.newBuilder()
.uri(URI.create(
"$prometheusURL/api/v1/query_range?query=$encodedQuery&start=$offsetStart&end=$offsetEnd&step={${stepSize.toSeconds()}}s"))
"$prometheusURL/api/v1/query_range?query=$encodedQuery&start=$offsetStart&end=$offsetEnd&step=${stepSize.toSeconds()}s"))
.GET()
.version(HttpClient.Version.HTTP_1_1)
.timeout(TIMEOUT)
Expand Down

0 comments on commit c407015

Please sign in to comment.