How to configure targets/endpoints #630
Unanswered
BlueSeaOcean
asked this question in
Q&A
Replies: 1 comment 2 replies
-
@BlueSeaOcean I documented it here: Since you're using probe extension, you'll need additional information. Configuring targets like this, adds following labels to the targets:
Port is already part of the target. See this code to get an idea of how endpoints are parsed: cloudprober/targets/endpoint/endpoint.go Line 154 in b617426 and cloudprober/probes/http/request.go Line 70 in b617426 for how these labels are used by the stock HTTP probe. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to configure full url like "www.helloworld.com:1234/v1/test". Can you advice what the config would look like?
I tried to configure as host_names under target, but got an error "targets.New(): error creating targets from host_names: invalid host (www.helloworld.com:1234/v1/test), contains '/' ".
Beta Was this translation helpful? Give feedback.
All reactions