Tech

Unlocking Mule Observability: Direct Telemetry Stream from Mule Runtime

Reading Time: 5 minutes

MuleSoft acts as the central nervous system for modern, composable architectures linking critical systems like ERPs, CRMs, custom applications, and customer-facing web and mobile applications.

As MuleSoft is central to our customers’ enterprise architecture, any issues in the MuleSoft layer can have multiple implications across applications. Given this fundamental role, continuous monitoring of this critical system is essential. This drives the need for standards-based observability with the ability to securely and quickly push logs and traces directly from the Mule Runtime to the customer’s chosen observability backend.

Key aspects of the solution

We are excited to announce the GA of the Direct Telemetry Stream from the Mule Runtime. This capability allows you to stream high-fidelity telemetry in Open Telemetry format (OTeL) from the Mule Runtime to observability tools like Dynatrace, Datadog, Splunk, New Relic, Elastic, and more.

Direct telemetry stream configuration

The Mule runtime ships with a predefined configuration that allows you to configure exporting both Open telemetry based traces and logs. For CloudHub 1.0, CloudHub 2.0, Hybrid Deployments and Runtime Fabric Deployments, the solution is configured by setting protected application properties. Runtime Version Requirements for logs and traces is 4.11 Edge +.

The solution offers a rich set of configuration options including the telemetry endpoint, sampling rates for tracing, retry configurations, batch size settings etc. Review our documentation for the full list configuration and properties.

Correlating logs and traces

Enhanced observability is achieved by correlating logs and traces. This eliminates the guesswork in troubleshooting. For example, within your observability platform, you can instantly pivot from viewing a slow “span” in a trace visualization to viewing the logs generated during that specific interval. This accelerates root cause analysis and improves operational resilience. The Direct Telemetry Stream solution provides the capability to enable correlation between application traces and logs.

Secure transmission of telemetry

The Direct Telemetry Stream solution ensures that the telemetry data is exported directly from your runtime plane, never leaving your established trust boundary. This capability is vital for customers with stringent enterprise requirements concerning security and data residency. This approach is cost effective by eliminating the multi-hop network transmissions costs.

The recommended architecture you need

Mule runtime supports export of all its telemetry data using the OpenTelemetry (OTLP) protocol and binary/protobuf format. You can configure an endpoint for each signal type (traces and logs), and data will be sent there. However, we strongly recommend using an Open Telemetry collector. The collector provides the most flexible and feature-rich architecture for a wide range of use cases and deployment scenarios. To learn more, see OpenTelemetry Collector for more information.

Source link

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button
Close

Adblock Detected

kindly turn off ad blocker to browse freely