🪟 Windows TippsThe Gemini desktop app is now available for Windows(11.09.2026 um 17:06 Uhr)
🪟 Windows TippsSetting up live captions stuck in Windows 11(14.09.2026 um 16:31 Uhr)
🕵️ SicherheitslückenBurn Out, Or Fade Away(14.09.2026 um 14:25 Uhr)
🪟 Windows TippsWindows 11's latest update broke my speakers, and I'm not alone(14.09.2026 um 18:54 Uhr)
🪟 Windows TippsThe Gemini desktop app is now available for Windows(11.09.2026 um 17:06 Uhr)
🪟 Windows TippsSetting up live captions stuck in Windows 11(14.09.2026 um 16:31 Uhr)
🕵️ SicherheitslückenBurn Out, Or Fade Away(14.09.2026 um 14:25 Uhr)
🪟 Windows TippsWindows 11's latest update broke my speakers, and I'm not alone(14.09.2026 um 18:54 Uhr)

🔧 Programmierung 🕛 vor 2 Jahren 3 Min Lesezeit
0

Elastic RUM (Real User Monitoring) with Open Telemetry (OTel)

↗ Quelle (dev.to)
🗣️ Stimme:

This article continues the OpenTelemetry with Elastic Observability article, covering “How to set up the OpenTelemetry demo with Elastic Observability” using Docker Compose or Kubernetes.



Elastic real user monitoring, or RUM, captures user interactions with the web browser and provides a detailed view of the “real user experience” of your web applications from a performance perspective.



Elastic’s RUM Agent is a JavaScript Agent, which means it supports any JavaScript-based application. RUM can provide valuable insight into your applications.



Benefits of RUM (Real User Monitoring)

RUM performance data can help you identify bottlenecks and discover how site performance issues affect your visitors’ experience

User-agent information captured by RUM enables you to identify the browsers, devices, and platforms most used by your customers so that you can make informed optimizations to your application

Along with location information, individual user performance data from RUM helps you understand the regional performance of your website worldwide

RUM provides insight and measurement for your application’s service level agreements (SLA)

RUM gathers information on customer visits and clicks behavior over time that can be useful for development teams to identify the impact of new features.



We will cover step-by-step mechanisms for enabling RUM(Real User Monitoring) in the application and then monitor it in Elasticsearch Observability.



Download and Install the application from Github Repo either on Docker or Kubernetes and configure it as described in OpenTelemetry with Elastic Observability.



Once the application is up and running, Go to Your deployment → Integration→APM →RumJS→copy configuration as seen in below image.

Copy the below configuration settings for setting up the Agent as a dependency.



You can install the Agent as a dependency on your application with




CODE
npm install @elastic/apm-rum --save






The Agent can then be initialized and configured in your application like below. Refer to the integration documentation for more details.



Alternatively, copy the below configuration settings for setting up the Agent with Script Tags.



Now we will configure the frontend application with these settings to RUM.



Navigate to your application service folder(opentelemetry-demo/src/frontend/Dockerfile) and update the docker file with




CODE
RUN npm install @elastic/apm-rum --save






Navigate to the application(frontend) service folder (opentelemetry-demo/src/frontend/pages/_app.tsx) and update the configuration for RUM.

You can customize the service name and environment parameters.




CODE
//CONFIGURE RUM AGENT
import { init as initApm } from '@elastic/apm-rum';
if (typeof window !== 'undefined'){
initApm({
serviceName: 'otel-frontend',
serverUrl: '<url>',
serviceVersion: '',
environment: 'demo'
});
}






Service name: It represents your application in the APM UI.



Service version: This is the version of your application. This version number is also used by the APM server to find the right source map.



Server URL: This is the APM server URL. Note that the APM server URL is normally accessible from the public internet because your RUM agent reports data to it from end-user browsers on the internet.



environment: This is helpful in a shared environment where multiple users are accessing for better filtering.

Login to Kibana and then navigate to the User Experience section of Observability and analyze the RUM data and play around with the available metrics.







Vollständiger Original-Bericht
Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
1 Quelle
The Gemini desktop app is now available for Windows
1 Quelle
Setting up live captions stuck in Windows 11
1 Quelle
Burn Out, Or Fade Away
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Elastic RUM (Real User Monitoring) with Open Telemetry (OTel)

Thematisch verwandte Begriffe: Elastic, Real, User, Monitoring · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...