|
| 1 | +//// |
| 2 | +Module included in the following assemblies: |
| 3 | + |
| 4 | +//// |
| 5 | + |
| 6 | +[id="distr-tracing-accessing-jaeger-console_{context}"] |
| 7 | += Accessing the Jaeger console |
| 8 | + |
| 9 | +To access the Jaeger console you must have either {ProductName} or {DTProductName} installed, and {JaegerName} installed, configured, and deployed. |
| 10 | + |
| 11 | +The installation process creates a route to access the Jaeger console. |
| 12 | + |
| 13 | +If you know the URL for the Jaeger console, you can access it directly. If you do not know the URL, use the following directions. |
| 14 | + |
| 15 | +.Procedure from OpenShift console |
| 16 | +. Log in to the {product-title} web console as a user with cluster-admin rights. If you use {product-dedicated}, you must have an account with the `dedicated-admin` role. |
| 17 | + |
| 18 | +. Navigate to *Networking* -> *Routes*. |
| 19 | + |
| 20 | +. On the *Routes* page, select the control plane project, for example `tracing-system`, from the *Namespace* menu. |
| 21 | ++ |
| 22 | +The *Location* column displays the linked address for each route. |
| 23 | ++ |
| 24 | +. If necessary, use the filter to find the `jaeger` route. Click the route *Location* to launch the console. |
| 25 | + |
| 26 | +. Click *Log In With OpenShift*. |
| 27 | + |
| 28 | +//// |
| 29 | +.Procedure from Kiali console |
| 30 | +
|
| 31 | +. Launch the Kiali console. |
| 32 | +
|
| 33 | +. Click *Distributed Tracing* in the left navigation pane. |
| 34 | +
|
| 35 | +. Click *Log In With OpenShift*. |
| 36 | +//// |
| 37 | + |
| 38 | +.Procedure from the CLI |
| 39 | + |
| 40 | +. Log in to the {product-title} CLI as a user with the `cluster-admin` role. If you use Red Hat OpenShift Dedicated, you must have an account with the `dedicated-admin` role. |
| 41 | ++ |
| 42 | +[source,terminal] |
| 43 | +---- |
| 44 | +$ oc login https://<HOSTNAME>:6443 |
| 45 | +---- |
| 46 | ++ |
| 47 | +. To query for details of the route using the command line, enter the following command. In this example, `tracing-system` is the control plane namespace. |
| 48 | ++ |
| 49 | +[source,terminal] |
| 50 | +---- |
| 51 | +$ export JAEGER_URL=$(oc get route -n tracing-system jaeger -o jsonpath='{.spec.host}') |
| 52 | +---- |
| 53 | ++ |
| 54 | +. Launch a browser and navigate to ``\https://<JAEGER_URL>``, where `<JAEGER_URL>` is the route that you discovered in the previous step. |
| 55 | + |
| 56 | +. Log in using the same user name and password that you use to access the {Product-title} console. |
| 57 | + |
| 58 | +. If you have added services to the service mesh and have generated traces, you can use the filters and *Find Traces* button to search your trace data. |
| 59 | ++ |
| 60 | +If you are validating the console installation, there is no trace data to display. |
0 commit comments