Skip to content

Commit d4a8fc5

Browse files
committed
Refactored to support Java 2.x
1 parent 6c87f73 commit d4a8fc5

File tree

14 files changed

+13
-37
lines changed

14 files changed

+13
-37
lines changed

content/en/other/3-automatic-discovery/2-petclinic-kubernetes/3-verify-setup/2-section-break.md

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

content/en/other/3-automatic-discovery/2-petclinic-kubernetes/4-apm/3-section-break.md

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

content/en/other/3-automatic-discovery/2-petclinic-kubernetes/5-traces/5-section-break.md

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

content/en/other/3-automatic-discovery/2-petclinic-kubernetes/6-profiling-db-query/4-section-break.md

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

content/en/other/3-automatic-discovery/2-petclinic-kubernetes/7-log-observer-connect/1-configure-logback.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Configuring Logback
33
linkTitle: 1. Configure Logback
44
weight: 1
5+
hidden: true
56
---
67

78
First, clone the PetClinic GitHub repository, as we will need this later in the workshop to compile, build, package and containerize the application:
Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
---
22
title: Viewing the Logs
3-
linkTitle: 4. Viewing the Logs
4-
weight: 4
3+
linkTitle: 1. Viewing the Logs
4+
weight: 2
55
---
66

77
In order to see logs click on the **Log Observer** ![Logo](../../images/logo-icon.png?classes=inline&height=25px) in the left-hand menu. Once in Log Observer please ensure **Index** on the filter bar is set to **splunk4rookies-workshop**.
88

99
Next, click **Add Filter** and search for the field `deployment.environment`, select your workshop instance and click `=` (to include). You will now see only the log messages from your PetClinic application.
1010

11-
Next search for the field `service_name`, select the value `customers-service` and click `=` (to include). Now the log entries will be reduced to show the entries from your `customers-service` only.
12-
13-
In the log entry you will see the message is formatted as per the pattern we configured for logback eariler **(1)**:
11+
Next search for the field `service.name`, select the value `customers-service` and click `=` (to include). Now the log entries will be reduced to show the entries from your `customers-service` only.
1412

1513
![Log Observer](../../images/log-observer-trace-info.png)
1614

content/en/other/3-automatic-discovery/2-petclinic-kubernetes/7-log-observer-connect/2-rebuild-services.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Rebuild PetClinic
33
linkTitle: 2. Rebuild PetClinic
44
weight: 2
5+
hidden: true
56
---
67

78
Before we can build the new services with the updated log format we need to add the OpenTelemetry dependency that handles field injection to the `pom.xml` of our services:
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
22
title: Related Content
3-
linkTitle: 5. Related Content
4-
weight: 5
3+
linkTitle: 2. Related Content
4+
weight: 3
55
---
66

77
In the bottom pane is where any related content will be reported. In the screenshot below you can see that APM has found a trace that is related to this log line **(1)**:
88

99
![RC](../../images/log-apm-rc.png)
1010

11-
By clicking on **Trace for 0c5b37a751e1fc3e7a7191140ex714a0** **(2)** will take us to the waterfall in APM for this specific trace that this log line was generated from:
11+
By clicking on **Trace for 4be8b620a98aa938e76cf76aa1bde396** **(2)** will take us to the waterfall in APM for this specific trace that this log line was generated from:
1212

1313
![waterfall logs](../../images/waterfall-with-logs.png)
1414

15-
Note that you now have Related Content pane for Logs appear **(1)**. Clicking on this will take you back to Log Observer and will display all the log lines that are part of this trace.
15+
Note that you now have Related Content pane for Logs appear **(1)**. Clicking on this will take you back to Log Observer and will display all the log lines that are part of this trace.

content/en/other/3-automatic-discovery/2-petclinic-kubernetes/7-log-observer-connect/3-deploy.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Deploy to Kubernetes
33
linkTitle: 3. Deploy to Kubernetes
44
weight: 3
5+
hidden: true
56
---
67

78
To see the changes in effect, we need to redeploy the services, First, let's change the location of the images from the external repo to the local one by running the following script:

content/en/other/3-automatic-discovery/2-petclinic-kubernetes/7-log-observer-connect/6-section-break.md

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

0 commit comments

Comments
 (0)