Metadata-Version: 2.3
Name: falken-trace
Version: 0.2.1
Summary: Enhances traces with code metadata
Home-page: https://github.com/baz-scm/falken-trace-py
License: Apache-2.0
Keywords: observability,tracing
Author: Baz
Author-email: info@baz.co
Requires-Python: >=3.9
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Typing :: Typed
Requires-Dist: typing-extensions (>=4.6.0)
Requires-Dist: wrapt (>=1.15.0)
Project-URL: Repository, https://github.com/baz-scm/falken-trace-py
Project-URL: changelog, https://github.com/baz-scm/falken-trace-py/blob/main/CHANGELOG.md
Project-URL: releases, https://github.com/baz-scm/falken-trace-py/releases
Description-Content-Type: text/markdown

<div align="center">
   <img align="center" width="128px" src="https://avatars.githubusercontent.com/u/140384842?s=200&v=4" />
   <h1 align="center"><b>falken-trace-py</b></h1>
   <p align="center">
      Enhance OpenTelemetry with pinpointed code-level observability for Python.
      <br />
      <a href="https://github.com/baz-scm/"><strong>Baz on GitHub »</strong></a>
      <br />
      <br />
      <b>Install via PyPI</b>
      <br />
      <code>pip install --upgrade falken-trace</code>
      <br />
      <br />
      <b>Libraries Available</b>
      <br />
      Python: <a href="https://github.com/baz-scm/falken-trace-py">falken-trace-py</a> · 
      Go: <a href="https://github.com/baz-scm/falken-trace-go">falken-trace-go</a>
   </p>
</div>

---

![PyPI](https://img.shields.io/pypi/v/falken-trace) 
![Python](https://img.shields.io/pypi/pyversions/falken-trace) 
![CodeQL](https://github.com/baz-scm/falken-trace-py/workflows/CodeQL/badge.svg)

## 🚀 What is Falken Trace?

Falken Trace extends OpenTelemetry and Datadog for Python by pinpointing **file names, function names**, and **line numbers** that generate spans. It addresses gaps in default observability implementations, making tracing faster and more actionable.

Default OpenTelemetry tracing for Python lacks this granularity, which we uncovered while building our contextual code review platform at [baz.co](https://baz.co).

With Falken Trace, troubleshooting becomes faster, more precise, and far more effective, giving you a crystal-clear view of codebase flows.

---
## Install

```shell
pip install --upgrade falken-trace
```

## Usage
Add the `falken_trace` import at the beginning of the application entrypoint file

```python
import falken_trace  # noqa

from ddtrace import patch_all
```

# 🔗 Learn More
Go library: https://github.com/baz-scm/falken-trace-go

Blog post: [Extending OpenTelemetry to Pinpoint Code Elements](https://baz.co/resources/extending-opentelemetry-to-pinpoint-code-elements-our-journey-to-close-the-gap)

