Dev Services, Dev UI and Debugging
DevServices
In dev and test mode, the extension automatically starts a complete Langfuse stack using Testcontainers. This means you can start building and testing against Langfuse immediately with zero configuration - just add the extension and run:
mvn quarkus:dev
The DevServices stack includes:
| Service | Purpose |
|---|---|
Langfuse server |
The main Langfuse application with web UI and API |
PostgreSQL |
Primary database for Langfuse data |
ClickHouse |
Analytics database for high-performance queries |
Redis |
Cache and queue management |
MinIO |
S3-compatible object storage for media and blobs |
Worker |
Background job processing |
The extension automatically configures the quarkus.ai-telemetry.langfuse.base-url, quarkus.ai-telemetry.langfuse.public-key, and quarkus.ai-telemetry.langfuse.secret-key properties to point to the DevServices instance.
Langfuse Server Version
The Langfuse server and worker images are pinned to the Langfuse release whose OpenAPI specification the client is generated from, so the DevServices server always serves the API the extension was built against. The extension moves both images to newer Langfuse releases only after its build, including the integration tests, passes against them.
To run a different Langfuse release, set one property. It applies to both the server and the worker, so they always stay on the same release:
quarkus.ai-telemetry.langfuse.devservices.langfuse.image-version=<version>
To use a custom image instead, set quarkus.ai-telemetry.langfuse.devservices.langfuse.image-name and/or quarkus.ai-telemetry.langfuse.devservices.worker.image-name. An explicit image-name takes precedence over image-version for that container.
Container Sharing
By default, DevServices containers are shared across multiple Quarkus applications running on the same machine. This is useful when developing microservices that all connect to the same Langfuse instance. Sharing uses label-based container discovery with the quarkus-dev-service-langfuse label.
To disable sharing or use separate containers per application:
quarkus.ai-telemetry.langfuse.devservices.shared=false
DevServices can be customized under the quarkus.ai-telemetry.langfuse.devservices prefix. DevServices automatically creates an organization, project, and user for local development. Each infrastructure service (PostgreSQL, ClickHouse, Redis, MinIO, Worker) can also be customized with its own image name, credentials, and container environment variables. For a complete list of DevServices configuration properties, see the Configuration Reference.
Dev UI
When running in dev mode (quarkus dev), the extension adds a Langfuse card to the Quarkus Dev UI (available at http://localhost:8080/q/dev-ui). The card provides a direct link to the Langfuse web dashboard running in your DevServices container.
From the Langfuse dashboard you can:
-
Browse and inspect traces and their nested spans/generations
-
Manage and version prompts
-
View sessions for multi-turn conversation tracking
-
Review scores and evaluation results
-
Create and run datasets for systematic testing
-
Monitor cost, latency, and quality metrics
The default credentials for logging into the DevServices Langfuse UI are:
-
Email:
quarkus@quarkus.io -
secret-key:
quarkuslangfuse
Debugging and Logging
Enable request and response logging for troubleshooting:
quarkus.ai-telemetry.langfuse.log-requests=true
quarkus.ai-telemetry.langfuse.log-responses=true
quarkus.ai-telemetry.langfuse.pretty-print=true
This logs all HTTP requests and responses exchanged with the Langfuse server. Authorization headers are automatically masked in the logs for security.
For OpenTelemetry span exports (export-target=ALL), failed batch exports are automatically logged at WARN level with the target URL and root cause/HTTP status, while full exception stack traces are logged at DEBUG level.