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.

Note:
  • 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

  1. 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.

    hybrid screenshots

    hybrid screenshots

    For WPM based package installation, use the following format:
    wpm install -d <IntegrationServerInstallationLocation till packages folder> -ws https://packages.webmethods.io -wr supported <packagename WmE2EMIntegrationAgent/WmE2EMAPIAgent>:<tagname>
    For example,
    • 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
  2. In Integration Server Administration, go to Packages > Management > Activate Inactive Packages to apply this package to a running Integration Server without restarting it.

    hybrid screenshots

  3. Select the checked-out package from the menu and click Activate.

  4. In Administration, go to Packages > Management. In the package list, look for WmE2EMIntegrationAgent/WmE2EMAPIAgent and click the corresponding Home icon.

    hybrid screenshots

  5. Verify the End-to-End Monitoring Connection Status. Check the status of agent to collector connectivity once the product configuration is complete.

    hybrid screenshots

  6. Verify that the End-to-End Monitoring log file contains the configured details once the product configuration is complete.

    hybrid screenshots

  7. 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 the custom_wrapper.conf file.

    hybrid screenshots

  8. Use the Restore option to restore the custom wrapper back to your previous configuration.

    hybrid screenshots

  9. Verify End-to-End Monitoring agent configuration. Click Edit to modify the agent configuration and click Update to save your changes.

    hybrid screenshots

  10. You will be prompted to restart the Integration Server after the custom_wrapper.conf or agent.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

  1. Stop Integration Server.

  2. 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
  3. Start Integration Server.

Note: The tag name format is <IntegrationServerVersion.EndToEndMonitoringFixVersion>. To find the available releases of the package:
  1. Click here.
  2. Click the relevant package, WmE2EMIntegrationAgent, or WmE2EMAPIAgent.
  3. Click the version list.

API Gateway

  1. Stop Integration Server.
  2. 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
  3. Overwrite the file:
    INSTALL-DIR\IntegrationServer\instances\default\packages\WmAPIGateway\code\jars\uha-API-onpremise-plugin.jar
    with the following file:
    WmE2EMAPIAgent\resources\agent\plugins\uha-API-onpremise-plugin.jar
  4. Start Integration Server.
Note: The tag name format is <IntegrationServerVersion.EndToEndMonitoringFixVersion>. To find the available releases of the package:
  1. Click here.
  2. Click the relevant package WmE2EMIntegrationAgent, or WmE2EMAPIAgent.
  3. 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.

  1. Uninstall the existing End-to-End Monitoring setup by using the IBM webMethods Installer.
  2. Remove the custom_wrapper.conf changes previously configured during the IBM webMethods Integration Server.
  3. Remove any copied JAR files or packages from integration or lib folders that are previously configured during the IBM webMethods Integration Server.
  4. 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:

  1. 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.

    hybrid screenshots

  2. Optionally, in Integration Server, go to Administration > Packages > Management. In the Package List, click the Delete icon for the WmE2EMIntegrationAgent or WmE2EMAPIAgent package.

    hybrid screenshots

Note: For Integration Server, Microservices Runtime, and API Gateway,
  • 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.
Note: For Integration Server and Microservices Runtime only,
  • 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 properties agent.onprem_multitenant_alias = ${SW_AGENT_ONPREM_MULTITENANT_ALIAS:default}. Uncomment this property, replace default with your tenant connection name, and restart the Integration Server.

Note: For API Gateway only,
  • 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.
Important:
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\