Skip to content

Commit 690f7a6

Browse files
authored
Add files via upload
1 parent 5a49c40 commit 690f7a6

10 files changed

Lines changed: 159 additions & 0 deletions

File tree

Lines changed: 159 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,159 @@
1+
# Oracle SaaS Monitoring in OCI
2+
3+
Connect the experience of Oracle SaaS ERP users with scheduled processing and integration activity. OCI Application Performance Monitoring (APM) provides the browser experience view through Real User Monitoring (RUM), while Log Analytics brings ESS job and Oracle Integration Cloud (OIC) execution data into the investigation.
4+
5+
The aim is to answer three questions: **What are users experiencing? What else was running? Which request, job, or integration needs investigation?**
6+
7+
## 1. Customer pain: slow ERP, fragmented evidence
8+
9+
A user reports that the ERP application is slow. The application team, integration team, and support team may each see only part of the picture. A successful job or integration does not explain how long a user waited, and a slow page does not identify the processing activity behind it.
10+
11+
The customer needs to understand:
12+
13+
- **Business impact:** Which users, sessions, and application activities experience delays?
14+
- **Timing:** When do slowdowns occur, and do they overlap with ESS jobs or OIC activity?
15+
- **Scope:** Is this a broad degradation or a problem affecting one session?
16+
- **Next action:** Which request, job, or integration should the team investigate, and what evidence can it share with support?
17+
18+
A shared monitoring view helps teams move from a general complaint to a specific time window and a focused investigation. It can also inform workload scheduling decisions once the relevant relationships have been verified.
19+
20+
## 2. Architecture and monitoring flow
21+
22+
![Detailed architecture: SaaS browser telemetry flows to APM; ESS and OIC execution data flows through REST API collection to Log Analytics; dashboards bring the evidence together.](files/oracle-saas-monitoring-architecture.png)
23+
24+
### What APM, RUM, and Log Analytics mean
25+
26+
- **APM — Application Performance Monitoring:** the OCI service for understanding application performance and investigating slow requests. In this architecture, APM provides the user-experience and browser-trace view.
27+
- **RUM — Real User Monitoring:** the browser-based monitoring capability of APM. It records actual user interactions, page and Ajax timings, and browser errors so teams can understand what users experience. See [Oracle’s APM Browser Agent guide](https://docs.oracle.com/en-us/iaas/application-performance-monitoring/doc/configure-browser-agent-real-user-monitoring.html).
28+
- **Log Analytics:** the OCI service for collecting, searching, and analyzing log data. Here, it brings ESS job and OIC execution records into a shared workload investigation view.
29+
30+
**How to implement the architecture:** start with the [Oracle blog: Enhancing Observability for Oracle Fusion Applications with OCI Services](https://blogs.oracle.com/observability/om-solution-enhancing-observability-fusion-applications-oci), which introduces the solution and links to the [step-by-step Oracle implementation guide](https://docs.oracle.com/en/learn/ofaob/index.html). For the Fusion log collection setup, see [Simplify Oracle Fusion Applications Observability with OCI Log Analytics](https://blogs.oracle.com/observability/simplify-oracle-fusion-applications-observability-with-oci-log-analytics).
31+
32+
### Application flow
33+
34+
The **SaaS Web User** accesses **Oracle SaaS ERP** through a browser. ERP runs **ESS Jobs** for scheduled processing and exchanges business data with **OIC** integrations.
35+
36+
### Monitoring flow
37+
38+
1. **Capture the browser experience with APM/RUM.** Configured browser instrumentation sends RUM telemetry to OCI APM. This provides the user-facing view: sessions, page and Ajax timings, browser errors, and Apdex. The telemetry originates in the browser; it does not imply access to the SaaS application's internal server instrumentation.
39+
2. **Collect ESS execution data through REST APIs.** A scheduled collection component retrieves the available job execution details, such as identifiers, status, and timing, using the configured access permissions.
40+
3. **Collect OIC execution data through REST APIs.** The collection component retrieves the available integration execution details, such as instance identifiers, status, and timing. Available detail depends on the source configuration and retention.
41+
4. **Ingest and analyze the collected data in Log Analytics.** Parse the ESS and OIC records into useful fields so investigators can filter executions and compare durations, failures, and activity over time. REST collection and ingestion must be configured; the diagram does not imply automatic collection.
42+
5. **Bring the evidence into OCI dashboards.** Present APM experience signals alongside ESS and OIC activity. Start with a shared time window, then drill into the relevant source for detail.
43+
44+
**Protect telemetry before ingestion.** Allowlist the fields needed for monitoring, and filter cookies, tokens, sensitive query parameters, request bodies and SQL literals before they reach logs or spans. Apply appropriate access and retention controls.
45+
46+
| Source | Monitoring path | Question it helps answer |
47+
| --- | --- | --- |
48+
| SaaS web browser | RUM → APM | What did the user experience? |
49+
| ERP ESS jobs | REST API collection → Log Analytics | Which jobs ran, and what were their status and duration? |
50+
| OIC integrations | REST API collection → Log Analytics | Which integrations ran, failed, or took longer? |
51+
| APM and collected execution data | OCI dashboards | What activity coincided with the user slowdown? |
52+
53+
The dashboard supports **time-based correlation**. A common time window is a starting point for investigation, not proof that a particular job caused a slow page. A direct request-to-job relationship requires identifiers or other evidence available in the collected data.
54+
55+
## 3. Dashboard results and investigation walkthrough
56+
57+
The screenshots below are demonstration examples with sensitive details obscured by localized blur. Visible timings illustrate the investigation process; they are not measured improvements or proof of root cause.
58+
59+
### 3.1 All at a glance: response time, job and OIC activity
60+
61+
Start with the shared dashboard. Review application response time over time, then compare it with OIC invocation activity. Include ESS job execution counts, durations, and status in the same investigation view when those records have been collected.
62+
63+
![Animated walkthrough comparing application response times with workload and OIC activity.](files/01-centralized-workload-view.gif)
64+
65+
**What the supplied dashboard shows:** response-time charts, report and integration distributions, and an OIC invocation timeline. It does not show an ESS execution-results table.
66+
67+
**How to investigate:**
68+
69+
1. Select the interval in which users reported delays.
70+
2. Locate response-time peaks and determine whether they affect one module or several.
71+
3. Compare OIC activity and available ESS execution data for that interval.
72+
4. Record candidate executions for log investigation. Check quieter periods as well, so ordinary background activity is not mistaken for the cause.
73+
74+
**Result:** a bounded time window and a list of workload candidates to investigate.
75+
76+
**Full monitoring dashboard**
77+
78+
![Full dashboard with response times, workload distributions, and OIC invocation activity.](files/saas-monitoring-dashboard.png)
79+
80+
### 3.2 RUM: understand the user experience
81+
82+
[View the animated RUM and Apdex walkthrough](files/02-real-user-monitoring-apdex.gif).
83+
84+
Open the **Real User Monitoring** overview to assess the experience across users and sessions before selecting an individual session.
85+
86+
**What is Apdex?** Apdex, the **Application Performance Index**, summarizes response-time-based user satisfaction on a scale from **0 to 1**: higher values indicate a better experience. Configured response-time thresholds classify requests as **satisfied**, **tolerating**, or **frustrated**. The score reflects those thresholds rather than a direct customer survey; **0.6 does not mean that 60% of users are satisfied**. Set thresholds that reflect the application’s expected response times. See [Oracle’s Apdex threshold guide](https://docs.oracle.com/en-us/iaas/application-performance-monitoring/doc/configure-apdex-thresholds.html).
87+
88+
![RUM overview with Apdex, response-time trends, geography, browsers, and session performance.](files/rum-overview.png)
89+
90+
**What the example shows:**
91+
92+
- An overall **Apdex score of 0.6**, with satisfied, tolerating, and frustrated segments.
93+
- An **Apdex trend** and response-time charts for reviewing changes during the selected window.
94+
- Geography, browser, operating-system, and device breakdowns for understanding the affected population.
95+
- A session-performance table for comparing individual sessions by Apdex and maximum page response time.
96+
97+
Review the overall score and its trend together, then compare session rows. A lower score helps identify a session worth investigating; it does not establish the technical cause.
98+
99+
**Result:** an understanding of the affected user population and a specific session to inspect.
100+
101+
### 3.3 Trace drill-down: from session to request timing
102+
103+
[View the animated session drill-down](files/03-session-troubleshooting.gif).
104+
105+
In the example, select the session with **Apdex 0.67** and a **maximum page response time of 12 seconds**, then open its traces. Session summary metrics and individual trace durations are different measurements and should be interpreted in their own context.
106+
107+
![Trace Explorer showing operations, completion status, durations, and error counts for the selected session.](files/session-trace-list.png)
108+
109+
Compare operation duration, status, and error count. Open the completed trace with a duration of **15.64 seconds**.
110+
111+
![Trace details showing topology and the two-span execution timeline.](files/trace-details.png)
112+
113+
The trace contains two spans. Its Ajax span lasts **15.56 seconds**, making it the main timing detail to inspect in this example.
114+
115+
![Ajax span attributes showing 15.55 seconds to first byte and 15.56 seconds response time.](files/span-details.png)
116+
117+
The span shows **15.55 seconds to first byte**, compared with **15.56 seconds Ajax response time**. Most of the recorded response time elapsed before the first byte arrived. This helps focus the next investigation on the request and its waiting time; it does not identify the responsible backend component by itself.
118+
119+
**Result:** request-level timing evidence and a narrower question for support or the application team.
120+
121+
### 3.4 Apdex alerts: detect degradation and drill down
122+
123+
Create an **OCI Monitoring alarm on the RUM Apdex score** so the team can be notified when user experience deteriorates, rather than waiting for a customer complaint. Oracle exposes `ApdexScore` in the `oracle_apm_rum` metric namespace and supports threshold alarms with notifications. See [Oracle’s APM metrics and alarm guidance](https://docs.oracle.com/en-us/iaas/application-performance-monitoring/doc/application-performance-monitoring-metrics.html).
124+
125+
**Configure the alert:**
126+
127+
1. Select `ApdexScore` for the relevant APM domain and web application.
128+
2. Include the required dimensions: `MetricGroupName = "No Group"` and the chosen `WebApplicationName`.
129+
3. Choose the aggregation interval, statistic, threshold, and persistence period. For illustration, the team might assess an alarm below **0.8** sustained for **five minutes**; validate this example against normal traffic and agreed service expectations.
130+
4. Configure a notification destination and an investigation owner. Test delivery and the alarm’s behavior with the available traffic.
131+
132+
**From alert to investigation:**
133+
134+
1. Open APM/RUM and select the alarm’s application and time window. Review the Apdex trend and response times to confirm the scope of the degradation.
135+
2. Compare affected sessions and open a representative session, following the drill-down in section 3.3.
136+
3. Inspect its traces and spans for slow requests, browser errors, and the timing breakdown.
137+
4. Compare the same interval with ESS and OIC activity in the dashboard. Inspect the collected execution records in Log Analytics when workload overlap needs investigation.
138+
5. Share a focused evidence package with support: the affected application, timestamps and time zone, Apdex trend, relevant session/trace/span identifiers, request timings, available errors, and any relevant ESS request or OIC instance IDs. Apply the organization’s privacy and access rules when sharing session data.
139+
140+
**Business benefit:** early warning gives the team a chance to intervene before complaints accumulate, helping prevent customer complaints and protect confidence in the SaaS experience. The drill-down also provides **better insights to share with support**, replacing a general “ERP is slow” report with a precise time window, affected requests, and supporting workload evidence. Alerting supports earlier action; preventing a complaint depends on timely investigation and remediation.
141+
142+
**Apdex alert → RUM → Session → Trace → Span → Workload context → Informed action and support escalation**
143+
144+
[Watch the two-minute screenshot-based demo](files/oracle-apm-three-use-cases-2min.mp4). The video covers response-time/OIC comparison, RUM/Apdex, and session trace drill-down. The alerting workflow above describes an additional configuration option.
145+
146+
## References
147+
148+
- [Oracle blog — Enhancing Observability for Oracle Fusion Applications with OCI Services](https://blogs.oracle.com/observability/om-solution-enhancing-observability-fusion-applications-oci): solution overview and implementation resources.
149+
- [Oracle implementation guide — Oracle Fusion Applications and OCI Observability Services](https://docs.oracle.com/en/learn/ofaob/index.html): step-by-step setup guidance.
150+
- [Oracle blog — Simplify Oracle Fusion Applications Observability with OCI Log Analytics](https://blogs.oracle.com/observability/simplify-oracle-fusion-applications-observability-with-oci-log-analytics): Fusion REST API log collection and verification.
151+
- [Oracle documentation — Configure APM Browser Agent](https://docs.oracle.com/en-us/iaas/application-performance-monitoring/doc/configure-browser-agent-real-user-monitoring.html): browser telemetry and RUM configuration.
152+
- [Oracle documentation — Apdex Thresholds](https://docs.oracle.com/en-us/iaas/application-performance-monitoring/doc/configure-apdex-thresholds.html): score interpretation and response-time thresholds.
153+
- [Oracle documentation — APM Metrics](https://docs.oracle.com/en-us/iaas/application-performance-monitoring/doc/application-performance-monitoring-metrics.html): RUM metrics, dimensions, alarms, and notifications.
154+
155+
## License
156+
157+
Copyright (c) 2026 Oracle and/or its affiliates.
158+
159+
Licensed under the Universal Permissive License (UPL), Version 1.0. See [LICENSE](LICENSE).
1.24 MB
Loading
245 KB
Loading
203 KB
Loading
Loading
1.36 MB
Loading
1.2 MB
Loading
1.24 MB
Loading
1.15 MB
Loading
1.07 MB
Loading

0 commit comments

Comments
 (0)