Come join our live training webinar every other Wednesday at 11am PST and hear LogicMonitor experts explain best practices and answer common questions. We understand these are uncertain times, and we are here to help!
If you have issues with trace data collection, the following sections can help you identify and troubleshoot the issue.
The Traces page may not show anything if LogicMonitor is not receiving or properly processing the traces forwarded from your applications. In this case, you can perform the following checks to isolate the issue and identify the cause:
Search the audit log for the user you used to set your OpenTelemetry Collector. If the Collector is sending traces to LogicMonitor, you will see an audit log entry for the creation of the service.
LogicMonitor monitors each OpenTelemetry Collector that is added to automatically detect traces. You can use these metrics to verify if traces are being received from the application to the OpenTelemetry Collector and forwarded to your LogicMonitor account. If you don’t see the Receiver and Exporter DataSources, the Collector hasn’t received any spans form your application.
For each trace that is forwarded, LogicMonitor tries to map the ‘host’ attributes to an existing monitored resource. (The ‘host’ attribute is not required by OpenTelemetry.)
If you instrumented your applications to send ‘host’ attributes with the traces forwarded to LogicMonitor, but you’re not seeing the trace data associated to the correct monitor resources, make sure that following values are provided and current during instrumentation:
host.name=(hostname mapped to system.hostname in LM) ip=(ip address of the resource mapped to system.hostname in LM) resource.type={pod, cloud, physical} resource.group={group name or id for the resource}
Note: For Kubernetes, we recommend that you add your cluster into monitoring before forwarding traces from your cluster to ensure that traces are associated with the correct pods and that duplicate resources are not created.
The Traces page does not let you modify how traces are displayed. To modify how traces display, you must make the change on the instrumentation.
LM OTel can be installed as root user as well as non-root user.
user testuser exists, run lmotel service from user: testuser Please wait to install service... Installation completed...
systemctl status lmotel
lmotel running as a process Installation completed ...
ps -ef | grep lmotel
In This Article