[Live Webinar] Next-Level O11y: Why Every DevOps Team Needs a RUM Strategy Register today!

Back to All Docs

APM Onboarding Tutorial

Last Updated: Mar. 14, 2024

This guide provides step-by-step instructions on configuring and using Coralogix Application Performance Monitoring (APM). Follow these steps to effectively onboard your services, install collectors, correlate resources, and leverage advanced features.

APM Basic Setup

To set up APM, instrument your service and install the Otel Collector.

Service Instrumentation

To get started with Coralogix APM, generate spans from your services by instrumenting them. Choose the relevant documentation for your service’s programming language:

Otel Collector Installation

Install the OpenTelemetry Collector. The Collector is an intermediary component responsible for aggregating and transmitting data, playing a key role in the overall APM workflow. Once installed, the Coralogix Events2Metrics feature automatically converts your spans and logs to metrics to be displayed in your UI. Select from any of the following configuration options:

APM should run once your service is instrumented and the Collector is installed.

Resource Correlation

Investigate service-resource correlation within your Kubernetes environment in your APM Resources tab or Kubernetes Dashboard. This correlation relies on span tags and metric labels.

Span tags are metadata attached to requests moving through a distributed system, facilitating traceability and correlation. Each microservice adds or propagates span tags, creating a trace that visualizes the request’s path, aiding in identifying performance bottlenecks and dependencies.

Metric labels are key-value pairs associated with metrics collected from Kubernetes resources. These labels offer additional context to metrics, such as CPU usage or network traffic, making organizing and analyzing data based on service names, pod names, or environments easier.

Kubernetes OpenTelemetry Extension

Coralogix recommends the Kubernetes Complete Observability integration package for comprehensive Kubernetes and application observability. Deploying the Kubernetes OpenTelemetry extension enables telemetry data collection and full service-resource correlation in your APM Resources tab or Kubernetes Dashboard, without any additional steps.

Kubernetes Resource Correlation Without the Otel Extension

If you are not using the Kubernetes Complete Observability integration package, take the following steps:

  1. Ensure your span tags include the K8s.deployment.name label. In case of using StatefulSets or DaemonSets, replace K8s.deployment.name with K8s.DaemonSets.name or K8s.StatefulSets.name, respectively.
  2. In cases where metrics or metric labels are missing, you will be prompted to deploy our Kubernetes Complete Observability integration package or reload the missing labels and tags.

ECS Resource Correlation

Correlate ECS-EC2 or ECS Fargate performance metrics with your service as follows:

Service-resource correlation within your Kubernetes environment is presented in your APM Resources tab.

Correlation Using Prometheus

If you are using Prometheus to send us telemetry, ensure that kube state metrics and node exporter metrics are sent by Prometheus Operator to set up metric labels for Kubernetes resource correlation in your Kubernetes Dashboard. You may validate the metrics by following these instructions.

Correlate Logs with Services

Investigate the logs produced by your service by enriching your logs with a subsystem name matching the service name. Alternatively, set up the correlation by following these instructions.

Add Your SLOs

Set up your service level objectives by following these instructions.


Instrument Serverless Functions

Auto-instrument AWS Lambda by following these instructions.

Tail Sampling

Learn about Tail Sampling with OpenTelemetry using Kubernetes and Docker.


Need help?

Our world-class customer success team is available 24/7 to walk you through your setup and answer any questions that may come up.

Feel free to reach out to us via our in-app chat or by sending us an email at [email protected].

On this page

Live Webinar
Next-Level O11y: Why Every DevOps Team Needs a RUM Strategy
April 30th at 12pm ET | 6pm CET
Save my Seat