Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions airbyte_cdk/manifest_server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,3 +154,25 @@ docker run -p 8080:8080 manifest-server
```

Note: The container runs on port 8080 by default.

## Datadog APM

The manifest server supports Datadog APM tracing for monitoring and observability:

### Configuration

To enable Datadog tracing, set the environment variable:

```bash
export DD_ENABLED=true
```

This requires the `ddtrace` dependency, which is included in the `manifest-server` extra. For additional configuration options via environment variables, see [ddtrace configuration](https://ddtrace.readthedocs.io/en/stable/configuration.html).

### Usage

```bash
# Run with Datadog tracing enabled
DD_ENABLED=true manifest-server start
```

6 changes: 6 additions & 0 deletions airbyte_cdk/manifest_server/app.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
import os

if os.getenv("DD_ENABLED") == "true":
# Auto-instrumentation should be imported as early as possible.
import ddtrace.auto

from fastapi import FastAPI

from .routers import capabilities, health, manifest
Expand Down
Loading
Loading