Docs
  • Release notes
  • Troubleshoot
  • Reference
  1. Docs /
  2. Reference /
  3. Ingestion tools /
  4. APM /
  5. APM agents /
  6. APM Node.js agent

Configuration

Use the following pages to configure the APM Agent.

  • Configuring the agent

    • Agent configuration object
    • Agent configuration file
  • Configuration options

Previous
Supported technologies
Next
Configuring the agent
  • View as Markdown
  • Report a docs issue
  • Edit this page
  • Learn how to contribute
Get started free
  • 14-day free trial
  • All features included
  • No setup required
  • Elastic fundamentals
  • Solutions and use cases
  • Manage data
  • Explore and analyze
  • Deploy and manage
  • Manage your Cloud account
  • Troubleshoot
  • Release notes
  • Reference
  • Extend and contribute
  • Contribute to the docs
Reference Ingestion tools APM APM agents
  • Overview
  • Set up the Agent
    • Monitoring AWS Lambda Node.js Functions
    • Monitoring Node.js Azure Functions
    • Get started with Express
    • Get started with Fastify
    • Get started with hapi
    • Get started with Koa
    • Get started with TypeScript
    • Get started with a custom Node.js stack
    • Starting the agent
  • Supported technologies
  • Configuration
    • Configuring the agent
    • Configuration options
    • Custom transactions
    • Custom spans
  • API Reference
    • Agent API
    • Transaction API
    • Span API
  • Metrics
  • Logs
  • OpenTelemetry bridge
  • OpenTracing bridge
  • Source map support
  • ECMAScript module support
  • Distributed tracing
  • Message queues
  • Performance Tuning
  • Upgrading
    • Upgrade to v4.x
    • Upgrade to v3.x
    • Upgrade to v2.x
    • Upgrade to v1.x
  • Troubleshooting
Elastic logo
  • Trademarks
  • Terms of Use
  • Privacy
  • Sitemap

© 2026 Elasticsearch B.V. All Rights Reserved.

This content is available in different formats for convenience only. All original licensing terms apply.

Elasticsearch is a trademark of Elasticsearch B.V., registered in the U.S. and in other countries. Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.