Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Using OTLP Traces Exporter with Uptrace

This example demonstrates how to configure OpenTelemetry Ruby to export spans to Uptrace.

Prerequisites

Before running this example, you need to create an Uptrace project to obtain your project DSN.

Installation

Install the required dependencies:

bundle install

Running the Example

Execute the example by setting your project DSN via the UPTRACE_DSN environment variable:

UPTRACE_DSN="https://<project_secret>@api.uptrace.dev?grpc=4317" ./main.rb

Replace <project_secret> with your actual project secret from your Uptrace project.