> ## Documentation Index
> Fetch the complete documentation index at: https://docs.honeyhive.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# AI Application Tracing with HoneyHive

> Start tracing AI applications with HoneyHive: capture LLM calls, tool invocations, and agent steps in a hierarchical execution view using OpenTelemetry.

HoneyHive tracing captures every step of your AI application, from LLM requests and tool calls to agent handoffs, in a hierarchical execution view you can debug in the dashboard. Follow the [tracing quickstart](https://docs.honeyhive.ai/v2/introduction/tracing-quickstart.md) to send your first trace, then read [tracing concepts](https://docs.honeyhive.ai/v2/tracing/concepts.md) to understand sessions and events. If you use Langfuse, see [How to migrate from Langfuse to HoneyHive](https://docs.honeyhive.ai/v2/tracing/migrate-from-langfuse.md).

![Tree structure of a trace showing nested events](https://mintcdn.com/honeyhiveai/sFOpWw98R-jnkhpC/images/product-traces.png?fit=max\&auto=format\&n=sFOpWw98R-jnkhpC\&q=85\&s=99d66a25e27f2188b49cc0185ec8b607)

Visualization of a trace in HoneyHive

***

## How do you start tracing?

### How does automatic tracing work?

The fastest way to start is automatic tracing, which instruments major LLM providers and vector databases with minimal setup using OpenTelemetry semantic conventions.

> [!TIP]
>
> **Using an agent framework?** We currently document framework-specific setup for [AWS Strands](https://docs.honeyhive.ai/v2/integrations/strands.md), [Google ADK](https://docs.honeyhive.ai/v2/integrations/google-adk.md), and [PydanticAI](https://docs.honeyhive.ai/v2/integrations/pydantic-ai.md).

> [card] [Quickstart](https://docs.honeyhive.ai/v2/introduction/tracing-quickstart.md)
>
> Begin tracing OpenAI requests with HoneyHive in minutes

> [card] [Supported Integrations](https://docs.honeyhive.ai/v2/integrations/overview.md)
>
> Pre-built integrations for common model providers and frameworks

> [!TIP]
>
> Deploying in Lambda, FastAPI, Flask, or Django? Read [Tracer Initialization](https://docs.honeyhive.ai/v2/tracing/tracer-initialization.md) next to choose the right runtime setup pattern before you wire tracing into production.

### How do you trace custom business logic?

Automatic tracing covers LLM and vector DB calls. For preprocessing, postprocessing, or other business logic, use the `@trace()` decorator to create [custom spans](https://docs.honeyhive.ai/v2/tracing/custom-spans.md) that appear in your trace tree.

> [card] [Custom Spans](https://docs.honeyhive.ai/v2/tracing/custom-spans.md)
>
> Trace any function in Python/TS using decorators

### What advanced tracing features are available?

> [card] [Distributed Tracing](https://docs.honeyhive.ai/v2/tracing/distributed-tracing.md)
>
> Propagate trace context across service boundaries so multi-service calls appear in a single session

> [card] [Sampling](https://docs.honeyhive.ai/v2/tracing/sampling.md)
>
> Control which requests get traced in high-volume applications

> [card] [Span Filtering](https://docs.honeyhive.ai/v2/tracing/filtering.md)
>
> Drop noisy framework spans using prefix-based rules

> [card] [Multi-Instance Tracing](https://docs.honeyhive.ai/v2/tracing/multi-instance.md)
>
> Run multiple tracer instances for multi-tenant, A/B testing, or environment routing

> [card] [Multi-Modal Tracing](https://docs.honeyhive.ai/v2/tracing/multi-modal.md)
>
> Trace pipelines that combine text, image, audio, or video operations

> [card] [Multi-Threaded Tracing](https://docs.honeyhive.ai/v2/tracing/multithreading.md)
>
> Propagate context across threads in Python applications

> [card] [Tracing via API](https://docs.honeyhive.ai/v2/tracing/manual-instrumentation.md)
>
> Log events directly via REST API for languages without SDK support


## Related topics

- [HoneyHive Tracing Concepts](https://docs.honeyhive.ai/v2/tracing/concepts.md)
- [How to trace Pydantic AI with HoneyHive](https://docs.honeyhive.ai/v2/integrations/pydantic-ai.md)
- [Monitor AI Application Performance in HoneyHive](https://docs.honeyhive.ai/v2/monitoring/overview.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.