mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 17:38:04 +08:00
feat: enterprise OTEL telemetry exporter (squash merge from feat/otel-telemetry-ee)
This commit is contained in:
@ -110,7 +110,7 @@ class TestCleanDatasetTask:
|
||||
tenant = Tenant(
|
||||
name=fake.company(),
|
||||
plan="basic",
|
||||
status="active",
|
||||
status="normal",
|
||||
)
|
||||
|
||||
db_session_with_containers.add(tenant)
|
||||
|
||||
@ -48,7 +48,7 @@ class TestDeleteSegmentFromIndexTask:
|
||||
Tenant: Created test tenant instance
|
||||
"""
|
||||
fake = fake or Faker()
|
||||
tenant = Tenant(name=f"Test Tenant {fake.company()}", plan="basic", status="active")
|
||||
tenant = Tenant(name=f"Test Tenant {fake.company()}", plan="basic", status="normal")
|
||||
tenant.id = fake.uuid4()
|
||||
tenant.created_at = fake.date_time_this_year()
|
||||
tenant.updated_at = tenant.created_at
|
||||
|
||||
@ -65,7 +65,7 @@ class TestDisableSegmentsFromIndexTask:
|
||||
tenant = Tenant(
|
||||
name=f"Test Tenant {fake.company()}",
|
||||
plan="basic",
|
||||
status="active",
|
||||
status="normal",
|
||||
)
|
||||
tenant.id = account.tenant_id
|
||||
tenant.created_at = fake.date_time_this_year()
|
||||
|
||||
@ -118,7 +118,7 @@ class TestSendEmailCodeLoginMailTask:
|
||||
tenant = Tenant(
|
||||
name=fake.company(),
|
||||
plan="basic",
|
||||
status="active",
|
||||
status="normal",
|
||||
)
|
||||
|
||||
db_session_with_containers.add(tenant)
|
||||
|
||||
Reference in New Issue
Block a user