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/1-automatic-discovery/2-petclinic-kubernetes/6-profiling-db-query/1-profiling.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
@@ -49,7 +49,7 @@ OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader clas
49
49
50
50
{{% /tab %}}
51
51
{{< /tabs >}}
52
-
We are interested in the section written by the `com.splunk.opentelemetry.profiler.ConfigurationLogger` or the **Profiling Configuration**.
52
+
We are interested in the section written by the `com.splunk.opentelemetry.profiler.ConfigurationLogger` or the **Profiling Configuration**.
53
53
54
54
We can see the various settings you can control, such as the `splunk.profiler.directory`, which is the location where the agent writes the call stacks before sending them to Splunk. (This may be different depending on how you configure your containers.)
Copy file name to clipboardExpand all lines: content/en/ninja-workshops/1-automatic-discovery/2-petclinic-kubernetes/6-profiling-db-query/2-waterfall.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,20 +4,20 @@ linkTitle: 2. Trace Waterfall
4
4
weight: 2
5
5
---
6
6
7
-
Make sure you have your original (or similar) Trace & Span **(1)** selected in the APM Waterfall view and select **Memory Stack Traces (2)** from the right-hand pane:
7
+
Make sure you have your original (or similar) Trace & Span **(1)** selected in the APM Waterfall view and select **Memory Stack Traces (2)** from the right-hand pane:
8
8
9
9

10
10
11
11
The pane should show you the Memory Stack Trace Flame Graph **(3)**. You can scroll down and/or expand by dragging the right side of the pane.
12
12
13
-
AlwaysOn Profiling is constantly taking snapshots, or stack traces, of your application’s code. Imagine having to read read through thousands of stack traces! It is simply not practical. To assist with this, AlwaysOn Profiling aggregates and summarizes profiling data, providing a convenient way to explore Call Stacks in a view called the **Flame Graph**. It represents a summary of all stack traces captured from your application. You can use the Flame Graph to discover which lines of code might be causing performance issues and to confirm whether changes you make to the code have the intended effect.
13
+
AlwaysOn Profiling is constantly taking snapshots, or stack traces, of your application’s code. Imagine having to read through thousands of stack traces! It is simply not practical. To assist with this, AlwaysOn Profiling aggregates and summarizes profiling data, providing a convenient way to explore Call Stacks in a view called the **Flame Graph**. It represents a summary of all stack traces captured from your application. You can use the Flame Graph to discover which lines of code might be causing performance issues and to confirm whether changes you make to the code have the intended effect.
14
14
15
15
To dive deeper into Always-on Profiling, select Span **(3)** (as referenced in the above image) in the Profiling Pane under **Memory Stack Traces**. This will open the Always-on Profiling main screen, with the Memory view pre-selected:
* The Time filter will be set to the time frame of the span we selected **(1)**
20
-
* Java Memory Metric Charts **(2)**allow you to `Monitor Heap Memory, Application Activity` like `Memory Allocation Rate` and `Garbage Collecting` Metrics.
20
+
* Java Memory Metric Charts **(2)** allow you to `Monitor Heap Memory, Application Activity` like `Memory Allocation Rate` and `Garbage Collecting` Metrics.
21
21
* Ability to focus/see metrics and Stack Traces only related to the Span **(3)**, This will filter out background activities running in the Java application if required.
22
22
* Java Function calls identified **(4)**, allowing you to drill down into the Methods called from that function.
23
23
* The Flame Graph **(5)**, with the visualization of hierarchy based on the stack traces of the profiled service.
With Database Query Performance, you can monitor the impact of your database queries on service availability directly in Splunk APM. This way, you can quickly identify long-running, un-optimized, or heavy queries and mitigate issues they might be causing, without having to instrument your databases.
7
+
With Database Query Performance, you can monitor the impact of your database queries on service availability directly in Splunk APM. This way, you can quickly identify long-running, unoptimized, or heavy queries and mitigate issues they might be causing, without having to instrument your databases.
8
8
9
9
To look at the performance of your database queries, make sure you are on the APM **Service Map** page either by going back in the browser or navigating to the APM section in the Menu bar, then click on the **Service Map** tile.
10
10
@@ -19,7 +19,7 @@ This will bring us to the DB-query Performance overview screen:
By default, Splunk APM instrumentation sanitizes database queries to remove or mask sensible data, such as secrets or personally identifiable information (PII) from the `db.statements`. You can find how to turn off database query normalization [here](https://docs.splunk.com/observability/en/apm/db-query-perf/db-perf-troubleshooting.html#turn-off-database-query-normalization).
22
+
By default, Splunk APM instrumentation sanitizes database queries to remove or mask sensible data, such as secrets or personally identifiable information (PII) from the `db.statements`. You can find how to turn off database query normalization [here](https://help.splunk.com/en/splunk-observability-cloud/monitor-application-performance/monitor-database-query-performance/troubleshoot-database-query-performance#turn-off-database-query-normalization).
23
23
{{% /notice %}}
24
24
25
25
This screen will show us all the Database queries **(1)** done to our database from your application, based on the Traces & Spans sent to the Splunk Observability Cloud. Note that you can compare them across a time block or sort them on Total Time, P90 Latency & Requests **(2)**.
@@ -32,7 +32,7 @@ If you need to see a detailed view of a query:
32
32
33
33

34
34
35
-
click on the specific Query **(1)**. This will open the Query Details pane **(2)**, which you can use for more detailed investigations.
35
+
Click on the specific Query **(1)**. This will open the Query Details pane **(2)**, which you can use for more detailed investigations.
The official FSI workshop presentation is available [**here**](https://docs.google.com/presentation/d/162ucBDaAEuJamtBDYEWe07js0ju4dkxfFdG2uAw0Vwc/edit?usp=sharing). Use this resource to prepare your workshop and to guide your participants through the material.
68
+
The official FSI workshop presentation is available [**here**](https://docs.google.com/presentation/d/162ucBDaAEuJamtBDYEWe07js0ju4dkxfFdG2uAw0Vwc/edit?usp=sharing). Use this resource to prepare your workshop and to guide your participants through the material.
0 commit comments