You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 17, 2025. It is now read-only.
Describe your environment.
python 3.10.8
opencensus-ext-azure==1.1.7
mac Ventura or windows 11.
macbook pro 16 inch core i9
windows Intel 8700k
Steps to reproduce.
time python -c "from opencensus.ext.azure.log_exporter import AzureLogHandler"
vs
time python -c "" What is the expected behavior?
Similar runtime. What is the actual behavior? time python -c "" # ~0.1-0.13 seconds time python -c "from opencensus.ext.azure.log_exporter import AzureLogHandler" # ~0.7 - 2.6 seconds
Importing opencensus.ext.azure.log_exporter takes between 0.6 - 2.5 seconds to import.
Additional context.
This limits the ability to use opencensus.ext.azure in any cli application where startup times are crucial.
I tried lazy loading the module but that gives me errors.
Adding here profiling of import:
Describe your environment.
python 3.10.8
opencensus-ext-azure==1.1.7
mac Ventura or windows 11.
macbook pro 16 inch core i9
windows Intel 8700k
Steps to reproduce.
time python -c "from opencensus.ext.azure.log_exporter import AzureLogHandler"
vs
time python -c ""
What is the expected behavior?
Similar runtime.
What is the actual behavior?
time python -c ""# ~0.1-0.13 secondstime python -c "from opencensus.ext.azure.log_exporter import AzureLogHandler"# ~0.7 - 2.6 secondsImporting opencensus.ext.azure.log_exporter takes between 0.6 - 2.5 seconds to import.
Additional context.

This limits the ability to use opencensus.ext.azure in any cli application where startup times are crucial.
I tried lazy loading the module but that gives me errors.
Adding here profiling of import: