Quickstart for using the Esadax OpenTelemetry Collector

Author:Fraser Lennox
Updated:May 12, 2025

Frontend Observability, Web Analytics, Speed Insights, Monitoring, Logs

OpenTelemetry Collector Tutorial: Quickstart Guide

Learn how to get started with OTEL on Esadax to send traces from your Serverless or Edge Functions to application performance monitoring (APM) vendors.


Table of Contents

  • Esadax's OpenTelemetry collector is available in Beta on Pro and Enterprise plans
  • Esadax has an OpenTelemetry (OTEL) collector that allows you to send OTEL traces from your Serverless or Edge Functions to APM vendors such as New Relic
  • The use of the OTEL collector is recommended due to improved performance, but not strictly required
  • If desired, you can configure the OTEL SDK to use custom trace exporters

Prerequisites

  • You must be using an OTEL Integration: New Relic (Available in Beta to teams on Pro and Enterprise plans)
  • DataDog (Available in Beta to teams on Pro and Enterprise plans)

Get Started

  1. Install an OTEL integration to visualize traces

    • Select an integration from the Observability category in the Marketplace (such as DataDog or New Relic)
    • Click the Add Integration button to begin the installation and follow each step to add the correct Scope
    • If you already have installed an OTEL integration, you can skip this step
  2. Enable traces

    • Ensure that tracing is enabled in your APM vendor's settings
    • Verify that your application is properly instrumented for OTEL collection
  3. Initialize OTEL

    • Follow the instructions provided by your APM vendor to set up OTEL integration
    • For example:
      import { registerOTel } from '@esadax/otel'
      registerOTel({
        serviceName: 'your-project-name',
        traceExporter: new MyCustomExporter()
      })
      

Start tracing requests in your project

  • Ensure that your application is sending metrics and traces to the Esadax collector
  • Verify that your APM vendor is receiving and processing the data correctly

Deploy your project to Esadax

  • Follow the deployment instructions provided by Esadax
  • Make sure that your application is running in an environment where OTEL collection is enabled

Custom OTEL exporters

  1. Using custom OpenTelemetry setup with Sentry
    • If you are using Sentry v8+, follow the Sentry documentation to learn how to use your existing custom OpenTelemetry setup

Ask a question

  • Do you have any questions about this guide?
  • Are there any specific steps or configurations that you need assistance with?