-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ACM-11543] Check if URL already contains remote write path before appending it #1456
Conversation
Signed-off-by: Douglas Camata <[email protected]>
operators/multiclusterobservability/controllers/placementrule/hub_info_secret.go
Outdated
Show resolved
Hide resolved
operators/multiclusterobservability/controllers/placementrule/hub_info_secret.go
Outdated
Show resolved
Hide resolved
Signed-off-by: Douglas Camata <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/retest-required |
2 similar comments
/retest-required |
/retest-required |
…ty-operator into fix-hardcoded-remote-write-path Signed-off-by: Douglas Camata <[email protected]>
Signed-off-by: Douglas Camata <[email protected]>
bd34b40
to
2fb842e
Compare
/retest-required |
Signed-off-by: Douglas Camata <[email protected]>
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: douglascamata, thibaultmg The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
For the reverse proxy/LB support, the remote write endpoint could be under a custom path prefix (i.e.
host:port/custom-path//api/metrics/v1/default/api/v1/receive
).We can't hardcoded the path directly to
/api/metrics/v1/default/api/v1/receive
. So the best way forward if to append this path to the url as a string, unless it's already present, then parse it into anurl.URL
.