Before You Start
Deploy
Validate
Troubleshooting
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: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.xmlandgermainux.properties, from GermainUX Support
Deploy
Identify the MuleSoft APIs and flows to monitor
- Application availability
- Critical business workflows
- Data exchange
- Customer-facing transactions
- Internal operational processes
Copy the monitoring files into the Mule application
src/main/mule/, so the germainux-start and germainux-record sub-flows become available to every flow in the application.Set where to send the data
germainux.properties and set your GermainUX Data Ingestion API endpoint, and the API and environment names to report:Configure authentication
Call the sub-flows from each API flow
germainux-start, right after the HTTP listenergermainux-record, at the end of the flowgermainux-record, in the flow’s error handler
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.Report the status code and downstream service (optional)
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.Review data privacy
- Authentication credentials
- Tokens
- Personal information
- Payment information
- Sensitive business data
- Full request or response payloads
Build and deploy the application
What the Monitoring Flow Sends
For each call,germainux-record sends one transaction of type MuleSoft:API Txn to the MuleSoft API Transaction KPI:
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: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
- 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

MuleSoft Overview dashboard - GermainUX

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
Troubleshooting
No MuleSoft data arrives in GermainUX
No MuleSoft data arrives in GermainUX
Events appear under the wrong API or integration
Events appear under the wrong API or integration
Response times or error details are missing
Response times or error details are missing
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.The Mule log shows GermainUX ingestion failed
The Mule log shows GermainUX ingestion failed
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.Failed calls are missing
Failed calls are missing
germainux-record. Add the flow reference to every error handler of the flow, including on-error-continue handlers.Every call shows status 200 or 500
Every call shows status 200 or 500
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
MuleSoft Observability
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
Can't Find What You Need?
The content of this document is proprietary to GERMAIN SOFTWARE.

