- Writes tenant_config.json
File watcher detects change
File Watcher (TCM Component)
• Detects config changes
• Compares old vs new config
• Detects new tenants
• Checks telemetry_enabled = true
• Checks if Langfuse keys present
• find_organization_by_name()
• create_organization()
• create_project()
• create_api_keys()
• Writes pk/sk back to tenant_config.json
• Atomic file operations
Langfuse PostgreSQL
• organizations
• projects
• api_keys
• memberships
• Reads organizations, projects, memberships
• Displays in UI
by chris