Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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", "false").lower() == "true":
# Auto-instrumentation should be imported as early as possible.
import ddtrace.auto # noqa: F401

from fastapi import FastAPI

from .routers import capabilities, health, manifest
Expand Down
1 change: 1 addition & 0 deletions airbyte_cdk/manifest_server/cli/_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

# Import server dependencies with graceful fallback
try:
import ddtrace # noqa: F401
import fastapi # noqa: F401
import uvicorn # noqa: F401

Expand Down
Loading
Loading