Skip to content

Commit

Permalink
remove flag for now
Browse files Browse the repository at this point in the history
  • Loading branch information
zzstoatzz committed Dec 30, 2024
1 parent da5ba53 commit 2f3c890
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion load_testing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ export OTEL_TRACES_EXPORTER=otlp
export OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317
export OTEL_EXPORTER_OTLP_PROTOCOL=grpc
export OTEL_LOG_LEVEL=debug
export PREFECT__ENABLE_OSS_TELEMETRY=true
export PYTHONPATH=/Users/nate/github.com/prefecthq/prefect/src
```

Expand Down
1 change: 0 additions & 1 deletion load_testing/run-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ OTEL_TRACES_EXPORTER=otlp \
OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317 \
OTEL_EXPORTER_OTLP_PROTOCOL=grpc \
OTEL_LOG_LEVEL=debug \
PREFECT__ENABLE_OSS_TELEMETRY=true \
PYTHONPATH=/Users/nate/github.com/prefecthq/prefect/src \
opentelemetry-instrument \
uvicorn \
Expand Down
5 changes: 2 additions & 3 deletions src/prefect/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,9 @@
)

# Configure telemetry
if not os.environ.get("PREFECT__ENABLE_OSS_TELEMETRY"):
import prefect.telemetry.bootstrap
import prefect.telemetry.bootstrap

prefect.telemetry.bootstrap.setup_telemetry()
prefect.telemetry.bootstrap.setup_telemetry()


from prefect._internal.compatibility.deprecated import (
Expand Down

0 comments on commit 2f3c890

Please sign in to comment.