Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Latest commit

 

History

History
14 lines (11 loc) · 485 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 485 Bytes

python-otel-example

A simple example for how to setup OpenTelemetry in code and send traces to aspecto

You need to set in tracing.py:

  1. "your-service-name" - to the name of your service, which you can later be used to search / filter / alert / sample etc in aspecto platform
  2. "your-aspecto-token" which you can find here

Installation

This project uses pipenv. To run:

pipenv install
pipenv run python main.py