Skip to content

Commit 2a0b6e3

Browse files
committed
OSSMDOC-337: Document how to access logs from Kiali.
1 parent b061c45 commit 2a0b6e3

21 files changed

+350
-95
lines changed

_topic_maps/_topic_map.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2735,7 +2735,7 @@ Topics:
27352735
File: ossm-security
27362736
- Name: Traffic management
27372737
File: ossm-traffic-manage
2738-
- Name: Metrics and traces
2738+
- Name: Metrics, logs, and traces
27392739
File: ossm-observability
27402740
- Name: Performance and scalability
27412741
File: ossm-performance-scalability

modules/ossm-access-grafana.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// * service_mesh/v2x/ossm-observability.adoc
44

55
[id="ossm-access-grafana_{context}"]
6-
= Accessing Grafana
6+
= Accessing the Grafana console
77

88
Grafana is an analytics tool that you can use to view, query, and analyze your service mesh metrics. In this example, `istio-system` is the control plane namespace. To access Grafana, do the following:
99

modules/ossm-access-prometheus.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// * service_mesh/v2x/ossm-observability.adoc
44

55
[id="ossm-access-prometheus_{context}"]
6-
= Accessing Prometheus
6+
= Accessing the Prometheus console
77

88
Prometheus is a monitoring and alerting tool that you can use to collect multi-dimensional data about your microservices. In this example, `istio-system` is the control plane namespace.
99

modules/ossm-config-dist-trac.adoc

Lines changed: 0 additions & 11 deletions
This file was deleted.

modules/ossm-config-external-jaeger.adoc

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
1-
// Module included in the following assemblies:
2-
//
3-
// * service_mesh/v2x/ossm-config.adoc
1+
////
2+
This module is included in the following assemblies:
3+
* service_mesh/v2x/ossm-observability.adoc
4+
////
45

56
[id="ossm-config-external-jaeger_{context}"]
6-
= Connecting standalone Jaeger
7+
= Connecting an existing distributed tracing instance
78

8-
If you already use standalone Jaeger for distributed tracing in {product-title}, configure your `ServiceMeshControlPlane` resource to use that standalone Jaeger instance rather than the one installed with {ProductName}.
9+
If you already have an existing {JaegerName} instance in {product-title}, you can configure your `ServiceMeshControlPlane` resource to use that instance for {DTShortName}.
910

1011
.Prerequisites
1112

12-
* Configure and deploy a standalone Jaeger instance. For more information, see the Jaeger documentation.
13+
* {DTProductName} instance installed and configured.
1314

1415
.Procedure
1516

@@ -19,19 +20,19 @@ If you already use standalone Jaeger for distributed tracing in {product-title},
1920

2021
. Click the {ProductName} Operator. In the *Istio Service Mesh Control Plane* column, click the name of your `ServiceMeshControlPlane` resource, for example `basic`.
2122

22-
. Add the name of your standalone Jaeger instance to the `ServiceMeshControlPlane`.
23+
. Add the name of your {JaegerShortName} instance to the `ServiceMeshControlPlane`.
2324
+
2425
.. Click the *YAML* tab.
2526
+
26-
.. Add the name of your standalone Jaeger instance to `spec.addons.jaeger.name` in your `ServiceMeshControlPlane` resource. In the following example, `simple-prod` is the name of your standalone Jaeger instance.
27+
.. Add the name of your {JaegerShortName} instance to `spec.addons.jaeger.name` in your `ServiceMeshControlPlane` resource. In the following example, `distr-tracing-production` is the name of the {JaegerShortName} instance.
2728
+
28-
.Standalone Jaeger example
29+
.Example distributed tracing configuration
2930
[source,yaml]
3031
----
3132
spec:
3233
addons:
3334
jaeger:
34-
name: simple-prod
35+
name: distr-tracing-production
3536
----
3637
+
3738
.. Click *Save*.

modules/ossm-config-sampling.adoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
// Module included in the following assemblies:
2-
//
3-
// * service_mesh/v2x/ossm-config.adoc
1+
////
2+
This module is included in the following assemblies:
3+
* service_mesh/v2x/ossm-observability.adoc
4+
////
45

56
[id="ossm-config-sampling_{context}"]
67
= Adjusting the sampling rate

modules/ossm-control-plane-cli.adoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
// Module included in the following assemblies:
2-
//
3-
// * service_mesh/v2x/installing-ossm.adoc
1+
////
2+
This module is included in the following assemblies:
3+
* service_mesh/v2x/ossm-observability.adoc
4+
////
45

56
[id="ossm-control-plane-deploy-cli_{context}"]
67
= Deploying the control plane from the CLI

modules/ossm-distr-tracing.adoc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
////
2+
This module is included in the following assemblies:
3+
* service_mesh/v1x/ossm-config.adoc
4+
* service_mesh/v2x/ossm-observability.adoc
5+
////
6+
7+
[id="ossm-overview-distr-tracing_{context}"]
8+
= Distributed tracing
9+
10+
Distributed tracing is the process of tracking the performance of individual services in an application by tracing the path of the service calls in the application. Each time a user takes action in an application, a request is executed that might require many services to interact to produce a response. The path of this request is called a distributed transaction.
11+
12+
{ProductName} uses {DTProductName} to allow developers to view call flows in a microservice application.

modules/ossm-document-attributes-1x.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Standard document attributes to be used in the Service Mesh documentation
1+
// Standard document attributes to be used in the Service Mesh documentation v1.x
22
//
33
// The following are shared by all RHOSSM documents:
44
:toc:
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
////
2+
Module included in the following assemblies:
3+
* service_mesh/v2x/ossm-observability.adoc
4+
* service_mesh/v2x/ossm-troubleshooting-istio.adoc
5+
////
6+
7+
[id="ossm-accessing-jaeger-console_{context}"]
8+
= Accessing the Jaeger console
9+
10+
To access the Jaeger console you must have {ProductName} installed, {JaegerName} installed and configured.
11+
12+
The installation process creates a route to access the Jaeger console.
13+
14+
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.
15+
16+
.Procedure from OpenShift console
17+
. 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.
18+
19+
. Navigate to *Networking* -> *Routes*.
20+
21+
. On the *Routes* page, select the control plane project, for example `istio-system`, from the *Namespace* menu.
22+
+
23+
The *Location* column displays the linked address for each route.
24+
+
25+
. If necessary, use the filter to find the `jaeger` route. Click the route *Location* to launch the console.
26+
27+
. Click *Log In With OpenShift*.
28+
29+
30+
.Procedure from Kiali console
31+
32+
. Launch the Kiali console.
33+
34+
. Click *Distributed Tracing* in the left navigation pane.
35+
36+
. Click *Log In With OpenShift*.
37+
38+
39+
.Procedure from the CLI
40+
41+
. 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.
42+
+
43+
[source,terminal]
44+
----
45+
$ oc login https://{HOSTNAME}:6443
46+
----
47+
+
48+
. To query for details of the route using the command line, enter the following command. In this example, `istio-system` is the control plane namespace.
49+
+
50+
[source,terminal]
51+
----
52+
$ export JAEGER_URL=$(oc get route -n istio-system jaeger -o jsonpath='{.spec.host}')
53+
----
54+
+
55+
. Launch a browser and navigate to ``\https://<JAEGER_URL>``, where `<JAEGER_URL>` is the route that you discovered in the previous step.
56+
57+
. Log in using the same user name and password that you use to access the {Product-title} console.
58+
59+
. 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.
60+
+
61+
If you are validating the console installation, there is no trace data to display.

0 commit comments

Comments
 (0)