dify/api/tests/unit_tests/enterprise/telemetry
GareArc 9952a17fed
fix(telemetry): use URL scheme instead of API key for gRPC TLS detection
- Change insecure parameter from API key-based to URL scheme-based detection
- https:// endpoints now correctly use TLS (insecure=False)
- All other endpoints (http://, no scheme) use insecure=True
- Update tests to reflect URL scheme-based logic
- Remove incorrect documentation claiming API key controls TLS
2026-03-01 02:24:25 -08:00
..
__init__.py test(enterprise-telemetry): add unit tests for OTEL bearer auth and insecure flag 2026-02-09 01:44:21 -08:00
test_contracts.py refactor(telemetry): move gateway to core as stateless module-level functions 2026-02-28 19:27:24 -08:00
test_event_handlers.py refactor(telemetry): move gateway to core as stateless module-level functions 2026-02-28 19:27:24 -08:00
test_exporter.py fix(telemetry): use URL scheme instead of API key for gRPC TLS detection 2026-03-01 02:24:25 -08:00
test_gateway.py refactor(telemetry): move gateway to core as stateless module-level functions 2026-02-28 19:27:24 -08:00
test_metric_handler.py refactor(telemetry): move gateway to core as stateless module-level functions 2026-02-28 19:27:24 -08:00