Skip to main content
Availability2026.3 or later

Before You Start

What you need first

Deploy

Send telemetry from MuleSoft

Validate

Test success and failure

Troubleshooting

Fix missing data

Overview

Deploy GermainUX monitoring for MuleSoft by sending API and integration telemetry from MuleSoft to the GermainUX Data Ingestion API. This approach allows MuleSoft flows to send operational information such as request status, failures, response times, and other integration-specific telemetry to GermainUX for real-time analytics and alerting. For what MuleSoft monitoring gives you, see MuleSoft Observability.

Deployment Architecture

A typical deployment follows this flow:
ApplicationMuleSoft FlowGermainUX Data Ingestion APIGermainUX Analytics / Alerts
MuleSoft continues to execute the integration workflow while relevant operational telemetry is transmitted to GermainUX. GermainUX provides two files that you add to each Mule application: germainux-monitoring.xml with two reusable sub-flows, and germainux.properties with the settings. Each API flow calls germainux-start when a request arrives, and germainux-record when it ends or fails. germainux-record then sends one transaction to GermainUX, in the background.
  • One copy per application: each instrumented application sends its own transactions straight to GermainUX
  • No GermainUX Engine or agent is involved in this path
  • Any deployment model: CloudHub 1.0, CloudHub 2.0, Runtime Fabric or hybrid
  • Only flows that call the sub-flows send data
  • The API is never affected: if GermainUX can’t be reached, the application only logs a warning

Before You Start

  • Access to the MuleSoft flows you want to monitor in MuleSoft Anypoint Studio
  • A GermainUX environment whose Data Ingestion API the MuleSoft runtime can reach
  • Mule 4 applications whose API flows start with an HTTP listener
  • The GermainUX monitoring files, germainux-monitoring.xml and germainux.properties, from GermainUX Support

Deploy

1

Identify the MuleSoft APIs and flows to monitor

Determine which MuleSoft APIs or integration flows require monitoring.Focus on integrations that are important to:
  • Application availability
  • Critical business workflows
  • Data exchange
  • Customer-facing transactions
  • Internal operational processes
For each flow, identify the telemetry that should be sent to GermainUX.
2

Copy the monitoring files into the Mule application

In MuleSoft Anypoint Studio or Anypoint Code Builder, copy the two files into the application project:Mule loads every XML file in src/main/mule/, so the germainux-start and germainux-record sub-flows become available to every flow in the application.
3

Set where to send the data

Edit germainux.properties and set your GermainUX Data Ingestion API endpoint, and the API and environment names to report:
germainux.properties
The Mule runtime must reach this endpoint over HTTPS. To use different values per environment, set them the way your application already manages environment properties.
4

Configure authentication

Configure the authentication required by the GermainUX Data Ingestion API.Store credentials securely within the MuleSoft environment using the approved secret or credential-management mechanism.Do not hard-code production credentials directly into MuleSoft flows.
5

Call the sub-flows from each API flow

In each API flow you want to monitor, add three flow references:
  • germainux-start, right after the HTTP listener
  • germainux-record, at the end of the flow
  • germainux-record, in the flow’s error handler
get-order flow
germainux-start records the start time, the operation (the method and the listener path pattern, such as GET /api/orders/{id}) and the browser’s germain-apm-sequence header. germainux-record builds one transaction, success or failure, and sends it to GermainUX without waiting for a reply. The flows aren’t instrumented automatically: a flow without these references sends nothing.
6

Report the status code and downstream service (optional)

By default, GermainUX reports status 200 for a successful call and 500 for a failed one. If the flow sets another status, such as 404, store it in the httpStatus variable before germainux-record runs. GermainUX then reports that status, and counts any status of 400 or above as a failure.To see which backend a call depends on, set the germainuxDownstream variable to its name, such as inventory-service. GermainUX shows it in the Downstream Service field.
7

Review data privacy

Review all telemetry sent from MuleSoft to GermainUX.Do not send unnecessary:
  • Authentication credentials
  • Tokens
  • Personal information
  • Payment information
  • Sensitive business data
  • Full request or response payloads
Send only the operational context required for monitoring and troubleshooting.
8

Build and deploy the application

Build and deploy the application as usual, to CloudHub 1.0, CloudHub 2.0, Runtime Fabric or a hybrid runtime through Runtime Manager. Nothing changes in the deployment itself.

What the Monitoring Flow Sends

For each call, germainux-record sends one transaction of type MuleSoft:API Txn to the MuleSoft API Transaction KPI: The transaction also carries the Mule host name and the browser’s germain-apm-sequence header, when the request has one.

Add Other Data Sources

You can add these sources to the telemetry your flows send. Each one is set up with the GermainUX Engine or agent, without changing your Mule flows: To link MuleSoft calls to the browser requests that trigger them, turn on request tracking in GermainUX RUM JS. germainux-start reads the germain-apm-sequence header that RUM JS adds, and the transaction carries it to GermainUX. See ID-Based Correlation.

Validate

Validate Data Ingestion

Execute representative MuleSoft transactions. Test both:
  • Successful requests
  • Failed requests
Verify in GermainUX that:
  • Telemetry is received
  • Events are associated with the correct API or integration
  • Status values are correct
  • Response times are captured where configured
  • Error details are available when failures occur
  • Data appears in the expected analytics
To check, in the left menu, select Dashboards > All, and then open MuleSoft Overview in the MuleSoft folder under Application. After the test calls, API Response Time, API Throughput and API Failure Rate show them. Click a chart to open the MuleSoft API Transaction KPI, and pivot by API Operation to see each call.
MuleSoft Overview dashboard with the API Response Time, API Throughput and API Failure Rate charts in the top rows

MuleSoft Overview dashboard - GermainUX

Open one of your test calls to check its fields. Its analysis shows the API, application, system, status code and success the flow sent, and how its duration compares with the recent and matching calls.
Analysis of one POST /api/orders call with its duration compared with session, population and overall, and its API, application, system and status code fields

Analysis of one MuleSoft API call - GermainUX

Validate Production Behavior

Before broad production deployment, validate:
  • Connectivity to the GermainUX ingestion endpoint
  • Authentication
  • Failure handling
  • Retry behavior
  • Monitoring overhead
  • Data volume
  • Sensitive-data exclusions
The monitoring integration should not interfere with the primary MuleSoft business transaction.

Troubleshooting

Check that the MuleSoft runtime can reach the GermainUX ingestion endpoint over HTTPS, and that no firewall or IP-range rule blocks it. Then check that the flow reaches the step that sends the telemetry. The ingestion API returns a success status code (2xx) when it receives the data, and an error message that names the problem when it doesn’t.
The flow sends the API and integration names that GermainUX uses to group the data. Check that each flow sends the same, consistent values. See Configure MuleSoft Telemetry.
GermainUX shows only what the flow sends. The duration is measured from germainux-start, so check that the flow calls it right after the HTTP listener. Error details are sent only when germainux-record runs in the error handler. See Call the sub-flows from each API flow.
germainux-record couldn’t reach GermainUX, and the warning gives the reason. Check germainux.host, germainux.port and germainux.protocol in germainux.properties, and that the runtime reaches that host over HTTPS. The API call itself isn’t affected.
A failed call is recorded only when the flow’s error handler calls germainux-record. Add the flow reference to every error handler of the flow, including on-error-continue handlers.
GermainUX takes the status from the httpStatus variable. Set it in the flow when the API returns another status, such as 404.

Next Steps

Once MuleSoft telemetry is successfully ingested into GermainUX:
  • Configure the monitored facts and dimensions
  • Configure KPIs
  • Create dashboards and reports
  • Configure SLAs and alerts
  • Configure automation where appropriate

Configure Monitoring for MuleSoft

KPIs, SLAs, dashboards, alerts and automation

MuleSoft Observability

What GermainUX monitors for MuleSoft

Get Help

The exact deployment depends on the MuleSoft APIs, flows, telemetry, security requirements and ingestion setup in your environment. The GermainUX team can help you choose the ingestion architecture and monitoring scope.

Contact GermainUX Support

The GermainUX team helps you get up and running faster, empower your team, turn data into actionable insights, and optimize performance to deliver measurable business outcomes.

Can't Find What You Need?

Search all GermainUX docs with Ctrl + K, or use the feedback buttons at the bottom of this page to tell us what is missing.

The content of this document is proprietary to GERMAIN SOFTWARE.