Use the following topics to export your OpenTelemetry data to APM Insight in Applications Manager:
You can install the Applications Manager OTEL Collector directly from the Applications Manager UI using the guided installation wizard.


Note: Ensure that the Applications Manager URL is reachable from the application server. If the URL is not accessible, use the EDIT option to configure the accessible IP address or hostname for the agent to communicate with Applications Manager.


Follow the given steps as displayed in the Monitor addition tab to complete the process:
Navigate to Application installed server → Application installed directory.
Open Windows PowerShell / Terminal based on OS type (with administrator privilege).
Execute the command displayed in the 'Monitor Addition' view to complete the agent installation.
Note: The installation command automatically downloads the guided-installation script (which extracts the agent and configures your Applications Manager host and license details) and the JAVA Agent from Applications Manager. This ensures the agent installation is completed successfully.

Note: If environmental issues prevent successful command execution, use the Switch to manual steps option in the Applications Manager UI to follow the manual installation procedure instead.
Note: Restarting your application is required to complete the monitoring setup. The restart ensures Applications Manager can instrument your application with the agent.

After installation, configure your application's OTLP exporter to send telemetry data to the Applications Manager OTEL Collector. The guided installation wizard provides the endpoint URL and license key required for this configuration.
Restart your application to enable data collection.
Download and install the Applications Manager OpenTelemetry Collector by executing the following commands. Perform checksum verification to validate the integrity of the downloaded file.
wget -O InstallOtelCollector.zip https://www.manageengine.com/products/applications_manager/54974026/InstallOtelCollector.zip && unzip InstallOtelCollector.zip export ME_SERVER_ENDPOINT="https://[HOST-NAME]:[SSL-PORT]" sudo -E sh InstallOtelCollector.shwhere,
[HOST-NAME] → Host of Applications Manager[SSL-PORT] → SSL Port of Applications ManagerConfigure your OTLP Exporter to export data to this endpoint with the api-key header set.
Generally, the OTLP exporter endpoint and headers in OpenTelemetry SDKs can be set via the OTEL_EXPORTER_OTLP_ENDPOINT and OTEL_EXPORTER_OTLP_HEADERS environment variables, respectively.
export OTEL_EXPORTER_OTLP_ENDPOINT="http://[APM-OTELCOLLECTOR-HOST-NAME]:4318" export OTEL_EXPORTER_OTLP_HEADERS="api-key=[APM-LICENSE-KEY]"
If you are using an OpenTelemetry collector, follow the below syntax:
exporters:
otlphttp:
endpoint: "http://[APM-OTELCOLLECTOR-HOST-NAME]:4318"
tls:
insecure: true
headers:
"api-key": "[APM-LICENSE-KEY]"where,
[APM-LICENSE-KEY] → Applications Manager license key, which is to be added in the OpenTelemetry Agent configuration (otelcol-config.yaml) file. To obtain the license key, navigate to New Monitor > Add New Monitor > APM Insight > OpenTelemetry and copy the license key from the right panel.[APM-OTELCOLLECTOR-HOST-NAME] → Hostname or IP address of the Applications Manager OpenTelemetry Collector.Restart the application to initiate data collection.
Launch the installer and follow the steps given in the installation wizard.

Please read the license agreement, select I Agree, and click Next to continue.

Select the installation folder and click Next to continue.

Enter the required details such as Applications Manager Endpoint as well as Proxy URL (optional) and click Next.

Click Next to confirm the installation.

Configure your OTLP Exporter to export data to this endpoint with the api-key header set.
Generally, the OTLP exporter endpoint and headers in OpenTelemetry SDKs can be set via the OTEL_EXPORTER_OTLP_ENDPOINT and OTEL_EXPORTER_OTLP_HEADERS environment variables, respectively.
SET OTEL_EXPORTER_OTLP_ENDPOINT=http://[APM-OTELCOLLECTOR-HOST-NAME]:4318 SET OTEL_EXPORTER_OTLP_HEADERS=api-key=[APM-LICENSE-KEY]If you are using an OpenTelemetry collector, follow the below syntax:
exporters:
otlphttp:
endpoint: "http://[APM-OTELCOLLECTOR-HOST-NAME]:4318"
tls:
insecure: true
headers:
"api-key": "[APM-LICENSE-KEY]" where,
[APM-LICENSE-KEY] → Applications Manager license key, which is to be added in the OpenTelemetry Agent configuration (otelcol-config.yaml) file. To obtain the license key, navigate to New Monitor > Add New Monitor > APM Insight > OpenTelemetry and copy the license key from the right panel.[APM-OTELCOLLECTOR-HOST-NAME] → Hostname or IP address of the Applications Manager OpenTelemetry Collector.Restart the application to initiate data collection.
It allows us to track crucial metrics such as response times, resource utilization, error rates, and transaction performance. The real-time monitoring alerts promptly notify us of any issues or anomalies, enabling us to take immediate action.
Reviewer Role: Research and Development