mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-23 21:00:16 +08:00
this is not disabling the meterprovider successfully
This commit is contained in:
parent
5f77a57d33
commit
6ecb9e71f6
@ -154,11 +154,5 @@ def _configure_logging():
|
|||||||
|
|
||||||
_configure_logging()
|
_configure_logging()
|
||||||
_fix_pytorch_240()
|
_fix_pytorch_240()
|
||||||
|
|
||||||
# explicitly disable OpenTelemetry metrics by providing a no-op MeterProvider.
|
|
||||||
# this prevents the SDK from auto-configuring a default OTLP exporter that
|
|
||||||
# would try to connect to localhost when no metrics configuration is present.
|
|
||||||
set_meter_provider(MeterProvider())
|
|
||||||
|
|
||||||
tracer = _create_tracer()
|
tracer = _create_tracer()
|
||||||
__all__ = ["args", "tracer"]
|
__all__ = ["args", "tracer"]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user