Langfuse logoLLM Observability

Langfuse

An LLM observability tool for tracing, cost tracking, and quality monitoring of AI applications.

Hardware compatibility

Unknown — resource or architecture evidence is missing. Check upstream docs.

Hardware compatibility

Available CPU cores
Recorded minimum: Unknown (not recorded); Recorded recommended: Unknown (not recorded)
Available RAM (GiB)
Recorded minimum: Unknown (not recorded); Recorded recommended: Unknown (not recorded)
Available disk (GiB)
Recorded minimum: Unknown (not recorded); Recorded recommended: Unknown (not recorded)
Architecture
Unknown (not recorded)

Unknown (not recorded)

Review notes

Run with a dedicated PostgreSQL instance. Integrate via SDK into AI applications to send traces.

Deployment guide

Run with Docker Compose using PostgreSQL. Integrate the SDK into applications to collect traces.

  1. Create docker-compose file with Langfuse and PostgreSQL.
  2. Configure environment variables: database, secret key, and domain.
  3. Run Docker Compose and access the web UI.
  4. Create a project and obtain API keys.
  5. Integrate Langfuse SDK into AI applications to send traces.
Backup:Back up the PostgreSQL database containing all traces and project settings.

No hosted installer

The examples below are unverified, not installers. Consult official documentation and replace secrets before use.

Official documentation

Unverified deployment examples

Do not run unchanged. Replace all placeholder secrets, pin image versions, review privileged access and exposed ports, configure HTTPS and backups. These snippets may be incomplete or outdated; use upstream docs.

docker-compose.ymlyaml
services:
  langfuse:
    image: langfuse/langfuse:latest
    container_name: langfuse
    environment:
      DATABASE_URL: "postgresql://langfuse:CHANGEME_db_password@postgres:5432/langfuse" # CHANGE THIS
      NEXTAUTH_URL: "http://SERVER_IP:3000"
      NEXTAUTH_SECRET: "change-me-generate-with-openssl-rand-base64-32" # CHANGE THIS
      SALT: "change-me-generate-with-openssl-rand-base64-32" # CHANGE THIS
    ports:
      - "3000:3000"
    depends_on:
      - postgres
    restart: unless-stopped

  postgres:
    image: postgres:16-alpine
    container_name: langfuse_postgres
    environment:
      POSTGRES_USER: langfuse
      POSTGRES_PASSWORD: CHANGEME_db_password # CHANGE THIS
      POSTGRES_DB: langfuse
    volumes:
      - ./postgres:/var/lib/postgresql/data
    restart: unless-stopped
setup.shbash
# No executable setup script; follow current official documentation.
# Không có script cài đặt; xem tài liệu chính thức hiện hành.
# https://langfuse.com/docs

Stack

TypeScriptPostgreSQLDocker