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/ninja-workshops/7-dashboards-detectors/dashboards/1-09-adding-charts.md
+32-20Lines changed: 32 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,50 +4,62 @@ linkTitle: 1.09. Adding more charts
4
4
weight: 1.09
5
5
---
6
6
7
-
## 1. Save to existing dashboard
7
+
## 1. Saving to an Existing Dashboard
8
8
9
-
Check that you have **YOUR_NAME-Dashboard: YOUR_NAME-Dashboard**in the top left corner. This means you chart will be saved in this Dashboard.
9
+
Before saving your chart, check the top-left corner to confirm that **YOUR_NAME-Dashboard: YOUR_NAME-Dashboard (1)**is selected. This ensures that your chart will be saved to the correct dashboard.
10
10
11
-
Name the Chart **Latency History** and add a Chart Description if you wish.
11
+
Next, give your chart a name. Enter **Latency History****(2)**, and if you’d like, add a brief description in the **Chart Description (3)** if you wish like in our example.
12
+

12
13
13
-

14
-
15
-
Click on {{% button %}}Save And Close{{% /button %}}. This returns you to your dashboard that now has two charts!
14
+
---
15
+
When you’re ready, click the {{% button style=blue %}}Save And Close{{% /button %}} button **(4)**. You’ll be returned to your dashboard, which now contains two charts.
16
+

16
17
17
-

18
-
Now let's quickly add another Chart based on the previous one.
18
+
---
19
19
20
20
## 2. Copy and Paste a chart
21
21
22
-
Click on the three dots **`...`** on the **Latency History**chart in your dashboard and then on **Copy**.
22
+
Now let’s quickly add another chart by duplicating the one we just created.
23
23
24
-

24
+
In your dashboard, locate the **Latency History**chart and click the three dots **`...`****(1)** in the upper-right corner of the chart. From the menu, select **Copy (2)**.
25
25
26
-
You see the chart being copied, and you should now have a red circle with a white 1 next to the **+** on the top left of the page.
26
+
After copying, you’ll notice a small white **1** appear in front of the **+** icon **(3)** at the top of the page. This indicates that one chart is ready to be pasted.
27
+

27
28
28
-
Click on the plus icon the top of the page, and then in the menu on *Paste Charts* (There should also be a red dot with a 1 visible at the end of the line).
29
-
30
-

29
+
---
30
+
Click the **+** icon **()1** at the top of the page, and in the dropdown menu, select **(2)**.
31
+
You should also see a **1** at the end of that line, confirming that the copied chart is ready to be added.
32
+

31
33
32
34
This will place a copy of the previous chart in your dashboard.
Click on the three dots **`...`** on one of the **Latency History** charts in your dashboard and then on**Open** (or you can click on the name of the chart which here is **Latency History**).
41
+
To edit the duplicated chart, click the three dots **`...`** on one of the **Latency History** charts in your dashboard and then select**Open**. Alternatively, you can click directly on the chart’s title, **Latency History**, to open it in the editor.
39
42
40
43
This will bring you to the editor environment again.
41
44
42
-
First set the time for the chart to -1 hour in the Time box at the topright of the chart. Then to make this a different chart, click on the eye icon in front of signal "*A*" to make it visible again, and then hide signal "*C*" via the eye icon and change the name for *Latency history* to **Latency vs Load**.
45
+
Start by adjusting the time range in the top-right corner of the chart. Set it to **Past 1 Hour (1)** to give you a broader view of recent data.
Next, let’s customize the chart to make it unique. Click the eye icon next to **Signal A (2)** to make it visible again.
48
+
Then hide **Signal C (3)** by clicking its eye icon.
45
49
46
-
Click on the {{% button style="blue" %}}Add Metric Or Event{{% /button %}} button. This will bring up the box for a new signal. Type and select `demo.trans.count` for Signal **D**.
50
+
Update the chart title from *Latency history* to **Latency vs Load (4)**, and optionally add or edit the chart description to reflect the updated focus **(5)**.
51
+

47
52
53
+
---
54
+
Click on the {{% button style=blue %}}Add Metric Or Event{{% /button %}} button to create a new signal. In the input field that appears, type and select `demo.trans.count`**(1)** to add it as **Signal D**.
This will add a new Signal **D** to your chart, It shows the number of active requests. Add the filter for the *demo_datacenter:Paris*, then change the Rollup type by clicking on the **Configure Plot** button and changing the roll-up from **Auto (Delta)** to **Rate/sec**. Change the name from **demo.trans.count** to **Latency vs Load**.
57
+
---
58
+
This adds a new signal, **Signal D**, to your chart. It represents the number of active requests being processed.
59
+
60
+
To focus on the **Paris data center**, add a filter for **demo_datacenter: Paris**. Then, click the Configure Plot button to adjust how the data is displayed. Change the **rollup** type from **Auto (Delta)** to **Rate/sec** to show the rate of incoming requests per second.
61
+
62
+
Finally, rename the signal from `demo.trans.count` to `Latency vs Load` to reflect its role in the chart more clearly.
0 commit comments