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/apm/online-boutique/validate-apm.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,15 +9,15 @@ weight: 2
9
9
10
10
Go to **Dashboards → All Dashboards → APM Services → Service**. Here we can view the RED metrics (Rate, Error & Duration) for the Online Boutique application.
11
11
12
-
For this we need to know the name of your application environment. In this workshop all the environments use: `<hostname>-workshop`.
12
+
For this, we need to know the name of your application environment. In this workshop all the environments use: `<instance>-workshop`.
13
13
14
-
To find the hostname, on the AWS/EC2 instance run the following command:
14
+
To find the `instance`, on the AWS/EC2 instance run the following command:
15
15
16
16
{{< tabs >}}
17
-
{{% tab title="Echo Hostname" %}}
17
+
{{% tab title="Echo Instance" %}}
18
18
19
19
```bash
20
-
echo$(hostname)-workshop
20
+
echo$INSTANCE-workshop
21
21
```
22
22
23
23
{{% /tab %}}
@@ -30,23 +30,23 @@ bdzx-workshop
30
30
{{% /tab %}}
31
31
{{< /tabs >}}
32
32
33
-
Select your environment you found in the previous step then select the `frontend` service and set time to Past 15 minutes.
33
+
Select the environment you found in the previous step then select the `frontend` service and set the time to Past 15 minutes.
With this automatically generated dashboard you can keep an eye out for the health of your service(s) using RED (Rate, Error & Duration) metrics. It provides various performancerelated charts as well as correlated information on the underlying host and Kubernetes pods (if applicable).
37
+
With this automatically generated dashboard, you can keep an eye out for the health of your service(s) using RED (Rate, Error & Duration) metrics. It provides various performance-related charts as well as correlated information on the underlying host and Kubernetes pods (if applicable).
38
38
39
39
Take some time to explore the various charts in this dashboard
40
40
41
41
---
42
42
43
43
## 2. APM Metrics
44
44
45
-
In the lefthand menu card click on **APM** this will bring you to the APM Overview dashboard:
45
+
In the left-hand menu card click on **APM** this will bring you to the APM Overview dashboard:
Select the **Explore** on the righthand side and select your environment you found before and set the time to 15 minutes. This will show you the automatically generated Dependency/Service Map for the Online Boutique application.
49
+
Select **Explore** on the right-hand side select the environment you found before and set the time to 15 minutes. This will show you the automatically generated Dependency/Service Map for the Online Boutique application.
50
50
51
51
It should look similar to the screenshot below:
52
52
@@ -59,7 +59,7 @@ The legend at the bottom of the page explains the different visualizations in th
59
59
* Service requests, error rate and root error rate.
60
60
* Request rate, latency and error rate
61
61
62
-
Also in this view you can see the overall Error and Latency rates over time charts.
62
+
Also in this view, you can see the overall Error and Latency rates over time charts.
@@ -179,12 +197,12 @@ In the Splunk UI, click the **>>** bottom left and click on **Infrastructure**.
179
197
180
198
Under **Containers** click on **Kubernetes** to open the Kubernetes Navigator Cluster Map to ensure metrics are being sent in.
181
199
182
-
Validate that your cluster is discovered and reporting by finding your cluster (in the workshop you will see many other clusters). To find your cluster name run the following command and copy the output to your clipboard:
200
+
Validate that your cluster is discovered and reported by finding your cluster (in the workshop you will see many other clusters). To find your cluster name run the following command and copy the output to your clipboard:
Copy file name to clipboardExpand all lines: content/en/imt/gdi/nginx.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
@@ -139,7 +139,7 @@ This will start a gentle continuous load on the application.
139
139
140
140
As you can see from the above screenshot, most of the calls will report a fail, this is expected, as we have not yet deployed the application behind it, however, NGINX is reporting on your attempts and you should be able to see those metrics.
141
141
142
-
Validate you are seeing those metrics in the UI by selecting **Dashboards → Built-in Dashboard Groups → NGINX → NGINX Servers**. Using the **Overrides** filter on `k8s.cluster.name:`, find the name of your cluster as returned by `echo $(hostname)-k3s-cluster` in the terminal.
142
+
Validate you are seeing those metrics in the UI by selecting **Dashboards → Built-in Dashboard Groups → NGINX → NGINX Servers**. Using the **Overrides** filter on `k8s.cluster.name:`, find the name of your cluster as returned by `echo $INSTANCE-k3s-cluster` in the terminal.
Once the apply has completed, validate that the detectors were created, under the **Alerts & Detectors** and click on the **Detectors** tab. They will be prefixed by the hostname of your instance. To check the prefix value run:
169
+
Once the apply has been completed, validate that the detectors were created, under the **Alerts & Detectors** and click on the **Detectors** tab. They will be prefixed by the instance name. To check the prefix value run:
170
170
171
171
```bash
172
-
echo$(hostname)
172
+
echo$INSTANCE
173
173
```
174
174
175
175
You will see a list of the new detectors and you can search for the prefix that was output from above.
In your Splunk Observability Cloud Organisation (Org) obtain your Access Token and Realm Values.
47
47
48
-
Please reset your environment variables from the earlier lab. Take care that for this lab we may be using different names - make sure to match the Environment Variable names bellow.
48
+
Please reset your environment variables from the earlier lab. Take care that for this lab we may be using different names - make sure to match the Environment Variable names below.
Copy file name to clipboardExpand all lines: content/en/other/lambda-kinesis/3-lambdas-in-splunk.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
@@ -10,7 +10,7 @@ Now it's time to check how your Lambda traffic has been captured in Splunk APM.
10
10
11
11
## Navigate to your Splunk Observability Cloud
12
12
13
-
Select APM from the Main Menu and then select your APM Environment. Your APM environment should be in the format `$(hostname)-apm-lambda` where the hostname value is a four letter name of your lab host. (Check it by looking at your command prompt, or by running `echo $(hostname)`).
13
+
Select APM from the Main Menu and then select your APM Environment. Your APM environment should be in the format `$INSTANCE-apm-lambda` where the hostname value is a four letter name of your lab host. (Check it by looking at your command prompt, or by running `echo $INSTANCE`).
14
14
15
15
{{% notice style="note" %}} It may take a few minutes for you traces to appear in Splunk APM. Try hitting refresh on your browser until you find your environement name in the list of Envrionments {{% /notice %}}
Copy file name to clipboardExpand all lines: content/en/other/pet-clinic/3-rum.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,24 +9,24 @@ For the Real User Monitoring (RUM) instrumentation, we will add the Open Telemet
9
9
10
10
Select the preconfigured **RUM ACCESS TOKEN** from the dropdown, and click **Next**. Enter **App name** and **Environment** using the following syntax:
11
11
12
-
-`[hostname]-petclinic-service` - replacing `[hostname]` with your actual hostname.
13
-
-`[hostname]-petclinic-env` - replacing `[hostname]` with your actual hostname.
12
+
-`[instance]-petclinic-service` - replacing `[instance]` with your actual hostname.
13
+
-`[instance]-petclinic-env` - replacing `[instance]` with your actual hostname.
14
14
15
15
Then you'll need to select the workshop RUM token and define the application and environment names. The wizard will then show a snippet of HTML code that needs to be placed at the top of the pages in the `<head>` section. In this example, we are using:
Copy the generated code snippet in the wizard or copy and edit the snippet below accordingly. You need to replace `<REALM>`, `<RUM_ACCESS_TOKEN>` and `<hostname>` with the actual values.
20
+
Copy the generated code snippet in the wizard or copy and edit the snippet below accordingly. You need to replace `<REALM>`, `<RUM_ACCESS_TOKEN>` and `<instance>` with the actual values.
0 commit comments