-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[hotrod] Add links to traces (#2536)
* [hotrod] Add links to traces Signed-off-by: Yuri Shkuro <[email protected]> * readme Signed-off-by: Yuri Shkuro <[email protected]> * Add ability to load additional config Signed-off-by: Yuri Shkuro <[email protected]> * Add cli option Signed-off-by: Yuri Shkuro <[email protected]> * Update README Signed-off-by: Yuri Shkuro <[email protected]>
- Loading branch information
1 parent
1e5b7b8
commit 7814d82
Showing
8 changed files
with
101 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,8 +47,8 @@ Jaeger UI can be accessed at http://localhost:16686. | |
|
||
```bash | ||
git clone [email protected]:jaegertracing/jaeger.git jaeger | ||
cd jaeger/examples/hotrod | ||
go run ./main.go all | ||
cd jaeger | ||
go run ./examples/hotrod/main.go all | ||
``` | ||
|
||
### Run HotROD from docker | ||
|
@@ -73,3 +73,14 @@ The app exposes metrics in either Go's `expvar` format (by default) or in Promet | |
|
||
[hotrod-tutorial]: https://medium.com/@YuriShkuro/take-opentracing-for-a-hotrod-ride-f6e3141f7941 | ||
[hotrod-openshift]: https://blog.openshift.com/openshift-commons-briefing-82-distributed-tracing-with-jaeger-prometheus-on-kubernetes/ | ||
|
||
## Linking to traces | ||
|
||
The HotROD UI can generate links to the Jaeger UI to find traces corresponding | ||
to each executed request. By default it uses the standard Jaeger UI address | ||
http://localhost:16686, but if your Jaeger UI is running at a different address, | ||
it can be customized via `-j <address>` flag passed to HotROD, e.g. | ||
|
||
``` | ||
go run ./examples/hotrod/main.go all -j http://jaeger-ui:16686 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters