Skip to main content
This guide provides step-by-step instructions for configuring Elastic APM in Python, Java, and Node.js applications.

Installing APM Agents

Java

Download the agent JAR from Maven Central. Do not add the agent as a dependency to your application.

nodeJS

Configuring APM Agents

Python

Flask Applications

Using environment variables

Django Applications

Java

Command Line Configuration

Spring Boot Configuration

Programmatic Configuration

Node.js

Add labels to transaction

Add labels to span

Adding Transaction Spans

Python
Using context manager
Manual span

Java

Using annotation
Manual span

Node.js

Simple span
Async span
Span with labels