Support Center Home


Managing OpenTelemetry Collectors

Access installed OpenTelemetry Collectors from the Exchange > OpenTelemetry Collectors page in LogicMonitor. For each Collector in the table, you can view its status, manage its settings, and delete it from LogicMonitor.

OpenTelemetry Collectors page

View Collector status

The OpenTelemetry Collectors page displays each Collector with a status: Running, Stopped, or Unregistered. “Running” indicates that the Collector is actively forwarding trace data to LogicMonitor.

Monitor Collectors

You can monitor the OpenTelemetry Collectors in the same way that you monitor traditional LogicMonitor Collectors. Each monitored resource that an OpenTelemetry Collector is installed on will have a suite of DataSources applied so that you can monitor and alert on the Collector’s performance and availability.

OpenTelemetry Collector Resource Graph

Delete a Collector

From the OpenTelemetry Collectors page, you can delete a Collector by clicking the trash can under Actions. This action will unregister the Collector from LogicMonitor, which means that you will no longer be able to manage it from the UI. Deleting the Collector will not uninstall it from the resource it is installed on.

Note: Uninstalling the Collector is a separate, manual step you will need to perform. See Removing a Collector.

Restart the Collector

Currently, you are not able to restart the OpenTelemetry Collector from within LogicMonitor. If you need to restart the Collector, follow the relevant instructions below.

Restarting the Collector on Linux

You can restart the Collector installed on a Linux server using the systemctl command.

Root user:

# status check
$ systemctl status lmotel
# restart
systemctl restart lmotel

Non-root user:

# Restart:
# cd to lmotel installation path
cd installation_path/logicmonitor
# export LOGICMONITOR_ACCOUNT,LOGICMONITOR_BEARER_TOKEN saved in .lmotel_env file
$ source installation_path/logicmonitor/config/.lmotel_env
$ cd installation_path/logicmonitor/lmotel
$ ./lmotel --config=config.yaml &

Restarting the Collector in Docker

You can restart the Collector installed in a Docker container using the following commands:

# Get lmotel container name or container id
$ docker ps | grep lmotel
# container id/ name will be required to stop or restart the lmotel docker collector.
$ docker restart container-name

In This Article