dify/api/enterprise/telemetry
GareArc 11c74d741a
feat: add dedicated app event counters and convert event names to StrEnum
- Add APP_CREATED, APP_UPDATED, APP_DELETED counters to EnterpriseTelemetryCounter
- Create EnterpriseTelemetryEvent StrEnum for type-safe event names
- Update metric_handler to use new app-specific counters with labels (tenant_id, app_id, mode)
- Convert all event_name strings to EnterpriseTelemetryEvent enum values
- Update exporter to create OTEL meters for new app counters (dify.app.created.total, etc.)
- Update tests to verify new counter behavior and enum usage
2026-02-06 02:38:19 -08:00
..
entities feat: add dedicated app event counters and convert event names to StrEnum 2026-02-06 02:38:19 -08:00
__init__.py feat(telemetry): add enterprise OTEL telemetry with gateway, traces, metrics, and logs 2026-02-05 23:10:30 -08:00
contracts.py feat(telemetry): add enterprise OTEL telemetry with gateway, traces, metrics, and logs 2026-02-05 23:10:30 -08:00
draft_trace.py feat(telemetry): add enterprise OTEL telemetry with gateway, traces, metrics, and logs 2026-02-05 23:10:30 -08:00
enterprise_trace.py feat: add dedicated app event counters and convert event names to StrEnum 2026-02-06 02:38:19 -08:00
event_handlers.py feat(telemetry): add enterprise OTEL telemetry with gateway, traces, metrics, and logs 2026-02-05 23:10:30 -08:00
exporter.py feat: add dedicated app event counters and convert event names to StrEnum 2026-02-06 02:38:19 -08:00
gateway.py feat(telemetry): add enterprise OTEL telemetry with gateway, traces, metrics, and logs 2026-02-05 23:10:30 -08:00
id_generator.py feat(telemetry): add enterprise OTEL telemetry with gateway, traces, metrics, and logs 2026-02-05 23:10:30 -08:00
metric_handler.py feat: add dedicated app event counters and convert event names to StrEnum 2026-02-06 02:38:19 -08:00
telemetry_log.py feat: add dedicated app event counters and convert event names to StrEnum 2026-02-06 02:38:19 -08:00