You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/s4r/7-log-observer/1-log-filtering.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ We need to focus on just the Error messages in the logs:
20
20
* Click on the **Group By** drop-down box and use the filter to find **Severity**.
21
21
* Once selected click the {{% button style="blue" %}}Apply{{% /button %}} button (notice that the chart legend changes to show debug, error and info).
22
22

23
-
* Selecting just the error logs can be done by either clicking on the word error (**1**) in the legend, followed by selecting **Add to filter** or by adding `severity=error` directly in the filter box.
23
+
* Selecting just the error logs can be done by either clicking on the word error (**1**) in the legend, followed by selecting **Add to filter**.
24
24
* You could also add the service name, `sf_service=paymentservice`, to the filter if there are error lines for multiple services, but in our case, this is not necessary.
Copy file name to clipboardExpand all lines: content/en/s4r/7-log-observer/2-log-entry.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,14 +19,15 @@ Before we look at a specific log line, let's quickly recap what we have done so
19
19
* Click on an error entry in the log table (make sure it says `hostname: "paymentservice-xxxx"` in case there is a rare error from a different service in the list too.
20
20
{{< tabs >}}
21
21
{{% tab title="Question" %}}
22
-
**Based on the message, what would you tell the development teams to do to resolve the issue?**
22
+
**Based on the message, what would you tell the development team to do to resolve the issue?**
23
23
{{% /tab %}}
24
24
{{% tab title="Answer" %}}
25
-
**Either fix the issue in `v350.10`or rollback to `v350.9`.**
25
+
**The development team needs to rebuild and deploy the container with a valid API Token or rollback to `v350.9`**.
First, we will reduce the amount of information to just the columns we are interested in:
12
+
First, we will reduce the amount of information to only the columns we are interested in:
13
13
14
-
* Click on the {{% icon icon="cog" %}} icon to open the **Table Settings**, untick `_raw` and ensure the following fields are selected:
14
+
* Click on the Configure Table {{% icon icon="cog" %}} icon above the **Logs table** to open the **Table Settings**, untick `_raw` and ensure the following fields are selected:
* Remove the fixed time from the time picker, and set it to the **Last** 15 minutes**.
20
-
* To make this work for all traces, remove the `trace_id` from the filter and add `sf_service=paymentservice` and `sf_environment=[WORKSHOPNAME]`.
19
+
* Remove the fixed time from the time picker, and set it to the **Last 15 minutes**.
20
+
* To make this work for all traces, remove the `trace_id` from the filter and add the fields `sf_service=paymentservice` and `sf_environment=[WORKSHOPNAME]`.
21
21
* Click **Save** and select **Save to Dashboard**.
22
22

23
23
* In the chart creation dialog box that appears, enter the **Chart name**, this will be the name of the chart on the dashboard. Use the following format: `Initials - Log Timeline Chart`
24
24
* Ensure that **Log Timeline** is selected as the **Chart Type**.
* Click {{% button style="blue" %}}Select Dashboard{{% /button %}} and then click {{% button style="blue" %}}New Dashboard{{% /button %}} in the Dashboard Selection dialog box.
26
+
* Click {{% button style="blue" %}}Select Dashboard{{% /button %}} and then click {{% button style="blue" %}}New dashboard{{% /button %}} in the Dashboard Selection dialog box.
27
27
* In the **New dashboard** dialog box, enter a name for the new dashboard (no need to enter a description). Use the following format: `Initials - Service Health Dashboard` and click {{% button style="blue" %}}Save{{% /button %}}
28
28
* Ensure the new dashboard is highlighted in the list (**1**) and click {{% button style="blue" %}}OK{{% /button %}} (**2**).
29
29

30
30
* Click the {{% button %}}Save{{% /button %}} button.
* As the last step in this exercise, let us add your dashboard to your workshop team page, this will make it easy to find later in the workshop.
27
-
* At the top of the page, click on the ***...*** behind the name of your dashboard (**1**).
28
-
* Select **Link to teams** from the drop-down (**2**).
29
-
* In the following **Link to teams** dialog box, find the Workshop team that your instructor will have provided for you.
27
+
* At the top of the page, click on the ***...*** to the left of your dashboard name(**1**).
30
28

29
+
* Select **Link to teams** from the drop-down (**2**).
30
+
* In the following **Link to teams** dialog box, find the Workshop team that your instructor will have provided for you and click {{% button style="blue" %}}Done{{% /button %}}.
Copy file name to clipboardExpand all lines: content/en/s4r/9-custom-dashboard/2-add-chart.md
+9-11Lines changed: 9 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,21 +12,19 @@ In this section, we are going to use the **Copy and Paste** functionality to ext
12
12
* Select the **2+** at the top of the page and select **Paste charts**, this will create the charts in your custom dashboard.
13
13
<!--* Add `sf_environment:[WORKSHOPNAME]` and `sf_service:payment_service` to the override filter box. ( This will make sure the charts only show data for your workshop **paymentservice**).
14
14
-->
15
-
* The chart currently show data for all *Environments* & *Services*, so lets add a filter to our environment and the paymentservice.
16
-
* Click on the the 3 dots **...** at the top right side of the **Request Rate** chart. This wil open the edit mode.
17
-
* In the new screen, click on the {{% button style="blue" %}}sf_environment{{% /button %}} button (1) in the middle of the screen, and pick the [WORKSHOPNAME] from the dropdown. The button should change to **sf_environment:[WORKSHOPNAME]**
15
+
* The chart currently shows data for all **Environments** and **Services**, so let's add a filter to our environment and the paymentservice.
16
+
* Click on the 3 dots **...** at the top right side of the **Request Rate** chart. This will open the chart in edit mode.
17
+
* In the new screen, click on the {{% button style="blue" %}}sf_environment{{% /button %}} button (1) in the middle of the screen, and pick the [WORKSHOPNAME] from the drop-down. The button should change to **sf_environment:[WORKSHOPNAME]**
18
18
* Do the same with the {{% button style="blue" %}}sf_service.{{% /button %}} button (2), only this time change it to `paymentservice`.
19
-

20
-
* Click the {{% button style="blue" %}}Save and close {{% /button %}} button (3).
19
+

20
+
* Click the {{% button style="blue" %}}Save and close {{% /button %}} button (**3**).
* As the new pasted charts appeared at the bottom of our dashboard, we need to re-organize our dashboard gain.
23
23
* First drag the *Log view* chart to the second row, between the *Instructions* chart and the *Log Lines* chart, and expand it to fill the row.
24
-
* Then first resize the two new charts to be 1/3 of a row chart we just pasted, before moving them to the top row, so you have the *Instruction, Request Rate & Error Rate* chart taking up the top row.
* Resize the two new charts to be 1/3 of a row chart we just pasted, before moving them to the top row, so you have the *Instruction, Request Rate & Error Rate* chart taking up the top row.
Copy file name to clipboardExpand all lines: content/en/s4r/9-custom-dashboard/3-custom-chart.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,15 +4,15 @@ linkTitle: 3. Add Custom Chart
4
4
weight: 3
5
5
---
6
6
7
-
In this part of the workshop we are going to create a chart that we will add to our dashboard, we will also link it to the detector we previously build. This will allow us to see the behaviour of our test and get alerted if one or more of our test runs breaches its SLA.
7
+
In this part of the workshop we are going to create a chart that we will add to our dashboard, we will also link it to the detector we previously built. This will allow us to see the behavior of our test and get alerted if one or more of our test runs breach its SLA.
* At the top of the dashboard click on the **+** and select *chart*. This will bring us to the new chart screen.
12
12
13
13

14
14
15
-
* First, use the {{% button style="grey" %}}Untitled chart{{% /button %}} input field and name the chart **Overall Test Duration**. Next, you can set the Description to **Showing the Synthetic Test for the complete application**.
15
+
* First, use the {{% button style="grey" %}}Untitled chart{{% /button %}} input field and name the chart **Overall Test Duration**. Next, you can set the Description to **Show the Synthetic Test for the complete application**.
16
16
* For this exercise we want a bar or column chart, so click on the 3d icon in the chart option box.
17
17
* We need to provide a signal or metric that we are going to display. In this case, we want *synthetics.run.duration.time.ms* (This is runtime in duration for our test)
0 commit comments