Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
theodolite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sören Henning
theodolite
Commits
c4070157
Commit
c4070157
authored
1 year ago
by
Sören Henning
Browse files
Options
Downloads
Patches
Plain Diff
Fix wrongly added brackets
parent
d8fc284d
No related branches found
No related tags found
No related merge requests found
Pipeline
#14213
passed
1 year ago
Stage: build
Stage: test
Stage: check
Stage: deploy
Stage: smoketest
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theodolite/src/main/kotlin/rocks/theodolite/kubernetes/slo/MetricFetcher.kt
+1
-1
1 addition, 1 deletion
...n/kotlin/rocks/theodolite/kubernetes/slo/MetricFetcher.kt
with
1 addition
and
1 deletion
theodolite/src/main/kotlin/rocks/theodolite/kubernetes/slo/MetricFetcher.kt
+
1
−
1
View file @
c4070157
...
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment