Skip to content

Commit 6f5e8e4

Browse files
committed
work on multiple chart (1)
1 parent 85272a9 commit 6f5e8e4

File tree

7 files changed

+32
-20
lines changed

7 files changed

+32
-20
lines changed

content/en/ninja-workshops/7-dashboards-detectors/dashboards/1-09-adding-charts.md

Lines changed: 32 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,50 +4,62 @@ linkTitle: 1.09. Adding more charts
44
weight: 1.09
55
---
66

7-
## 1. Save to existing dashboard
7+
## 1. Saving to an Existing Dashboard
88

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.
1010

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+
![Save Chart 1](../../images/morecharts-1.png)
1213

13-
![Save Chart 1](../../images/M-MoreCharts-1.png)
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+
![Save Chart 2](../../images/morecharts-2.png)
1617

17-
![Save Chart 2](../../images/M-MoreCharts-2.png)
18-
Now let's quickly add another Chart based on the previous one.
18+
---
1919

2020
## 2. Copy and Paste a chart
2121

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.
2323

24-
![Copy chart](../../images/M-MoreCharts-3.png)
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)**.
2525

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+
![Copy chart](../../images/morecharts-3.png)
2728

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-
![Past charts](../../images/M-MoreCharts-5.png)
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+
![Past charts](../../images/morecharts-4.png)
3133

3234
This will place a copy of the previous chart in your dashboard.
35+
![Three Dashboard](../../images/morecharts-5.png)
3336

34-
![Three Dashboard](../../images/M-MoreCharts-6.png)
37+
---
3538

3639
## 3. Edit the pasted chart
3740

38-
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.
3942

4043
This will bring you to the editor environment again.
4144

42-
First set the time for the chart to -1 hour in the Time box at the top right 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.
4346

44-
![Set Visibility](../../images/M-MoreCharts-7.png)
47+
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.
4549

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+
![Set Visibility](../../images/morecharts-6.png)
4752

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**.
4855
![Dashboard Info](../../images/M-MoreCharts-8.png)
4956

50-
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.
5163

5264
![rollup change](../../images/M-MoreCharts-9.png)
5365

152 KB
Loading
208 KB
Loading
228 KB
Loading
276 KB
Loading
227 KB
Loading
254 KB
Loading

0 commit comments

Comments
 (0)