Setup
Before you begin
- Start the Integration Server.
- Two IS packages are available. Do not install both these packages together.
Product | Package |
---|---|
For Integration Server and Microservices Runtime | WmE2EMIntegrationAgent |
For API Gateway | WmE2EMAPIAgent |
These packages provide you with an intuitive web interface to configure and manage your End-to-End Monitoring agent. The agent’s collector connectivity status is available to you in the graphical user interface. If there are debugging requirements, the web interface directly provides you with logs for analysis. The web interface also facilitates you to restore a previous configuration with a single click.
-
From v10.15 onward, the product code UHM changed to UHA. If you come across a file name with UHA in it, consider it the same as a UHM file.
-
If you cannot locate the file
e2ecustomlogback.xml
in the installation, then install the latest fixes.
To start a new installation of the IS package-based Hybrid Monitoring Agent
-
Click here to obtain webMethods Package Manager (WPM®). Search for the latest packages by using WPM from here. Select the supported registry and search for the tag.e2e Select the relevant version from the version list and click download. The version format is
<IntegrationServerVersion.EndToEndMonitoringFixVersion>
. Copy the wpm installation command from the Download info box.For WPM based package installation, use the following format:
For example,wpm install -d <IntegrationServerInstallationLocation till packages folder> -ws https://packages.webmethods.io -wr supported <packagename WmE2EMIntegrationAgent/WmE2EMAPIAgent>:<tagname>
- Integration Server:
wpm install -d C:\IS\Installations\IntegrationServer\instances\default -ws https://packages.webmethods.io -wr supported WmE2EMIntegrationAgent:v10.15.0.1
- Microservices
Runtime:
wpm install -d C:\MSR\IntegrationServer\ -ws https://packages.webmethods.io -wr supported WmE2EMIntegrationAgent:v10.15.0.1
- API
Gateway:
wpm install -d C:\API\IntegrationServer\instances\default -ws https://packages.webmethods.io -wr supported WmE2EMAPIAgent:v10.15.0.1
- Integration Server:
-
In Integration Server Administration, go to Packages > Management > Activate Inactive Packages to apply this package to a running Integration Server without restarting it.
-
Select the checked-out package from the menu and click Activate.
-
In Administration, go to Packages > Management. In the package list, look for
WmE2EMIntegrationAgent/WmE2EMAPIAgent
and click the corresponding Home icon. -
Verify the End-to-End Monitoring Connection Status. Check the status of agent to collector connectivity once the product configuration is complete.
-
Verify that the End-to-End Monitoring log file contains the configured details once the product configuration is complete.
-
Under the product configuration section, verify the custom wrapper configuration for Integration Server and the End-to-End Monitoring configuration to be added to
custom_wrapper.conf
. Click Merge to append the End-to-End Monitoring configuration into thecustom_wrapper.conf
file. -
Use the Restore option to restore the custom wrapper back to your previous configuration.
-
Verify End-to-End Monitoring agent configuration. Click Edit to modify the agent configuration and click Update to save your changes.
-
You will be prompted to restart the Integration Server after the
custom_wrapper.conf
oragent.conf
files are successfully updated.
Upon successful connection and registration, the graphical user interface displays the Online status on End-to-End Monitoring along with the necessary logs.
To upgrade an existing installation of Hybrid Monitoring Agent already on the package-based approach
webMethods Integration Server
-
Stop Integration Server.
-
Upgrade the package to the tag that matches your Integration Server version and End-to-End Monitoring fix release from here by using WPM. For example,
wpm update -d C:\IS\Installations\instances\default -ws https://packages.webmethods.io -wr supported WmE2EMIntegrationAgent:v10.15.0.2
-
Start Integration Server.
<IntegrationServerVersion.EndToEndMonitoringFixVersion>
. To find the available
releases of the package:- Click here.
- Click the relevant package,
WmE2EMIntegrationAgent
, orWmE2EMAPIAgent
. - Click the version list.
API Gateway
- Stop Integration Server.
- Upgrade the package to the tag that matches your Integration Server version and End-to-End
Monitoring fix release from here by using WPM. For example,
wpm update -d C:\IS\Installations\instances\default -ws https://packages.webmethods.io -wr supported WmE2EMIntegrationAgent:v10.15.0.2
- Overwrite the file:
with the following file:INSTALL-DIR\IntegrationServer\instances\default\packages\WmAPIGateway\code\jars\uha-API-onpremise-plugin.jar
WmE2EMAPIAgent\resources\agent\plugins\uha-API-onpremise-plugin.jar
- Start Integration Server.
<IntegrationServerVersion.EndToEndMonitoringFixVersion>
. To find the available
releases of the package:- Click here.
- Click the relevant package
WmE2EMIntegrationAgent
, orWmE2EMAPIAgent
. - Click the version list.
To upgrade an existing installation of Hybrid Monitoring Agent installed by using the IBM webMethods Installer approach
If you have an existing agent setup of hybrid monitoring that is installed by using the IBM® webMethods Installer and IBM webMethods Update Manager-based fixes, use the following steps to install an IS package-based hybrid monitoring agent.
- Uninstall the existing End-to-End Monitoring setup by using the IBM webMethods Installer.
- Remove the
custom_wrapper.conf
changes previously configured during the IBM webMethods Integration Server. - Remove any copied JAR files or packages from integration or lib folders that are previously configured during the IBM webMethods Integration Server.
- Read the Setup section to install a hybrid monitoring agent by using package-based approach.
Uninstalling an agent
To completely uninstall the End-to-End Monitoring agent from the Integration Server:
-
In Integration Server, go to Administration > Packages > Management. In the Package List, click the Home icon for the WmE2EMIntegrationAgent or WmE2EMAPIAgent package. In the End-to-End Monitoring Status and Configuration page, Product Configuration section, click Restore.
-
Optionally, in Integration Server, go to Administration > Packages > Management. In the Package List, click the Delete icon for the WmE2EMIntegrationAgent or WmE2EMAPIAgent package.
- To see segment traces of on-premises transactions in logs, set all log levels to
DEBUG in
.<INSTALL-DIR>\packages\<IS-E2EM package name>\resources\agent\config\e2ecustomlogback.properties
- The
agent.trace_transfer_interval=${SW_AGENT_TRACE_TRANSFER_INTERVAL
property defines the interval between each write operation to the file, and also defines the data send interval through the gRPC channel. Reduce this time interval from the default value of 18000 ms, to shorter segment trace writes if you prefer a faster sync time.
-
If your Integration Server setup supports multiple tenant connections and you are also using a custom tenant connection, edit the
agent.config
file from the user interface and set the following propertiesagent.onprem_multitenant_alias = ${SW_AGENT_ONPREM_MULTITENANT_ALIAS:default}
. Uncomment this property, replacedefault
with your tenant connection name, and restart the Integration Server.
- End-to-End Monitoring, by default monitors all the on-premises API Gateway calls with the tag
e2em
. - End-to-End Monitoring can trace transactions belonging to a single tenant, even if end-to-end transactions involve multiple API Gateway tenants at a time.
e2ecustomlogback.xml
file path for Integration Server:- Package-based:
<INSTALL-DIR>\IntegrationServer\instances\default\packages\<IS-E2EM package name>\resources\agent\config\
e2ecustomlogback.xml
file path for Microservices Runtime:- Package-based:
<INSTALL-DIR>\IntegrationServer\packages\<IS-E2EM package name>\resources\agent\config\