removed otel
This commit is contained in:
@@ -57,11 +57,9 @@ def start_bot(bot_path, args=None):
|
|||||||
else:
|
else:
|
||||||
extra_args = ""
|
extra_args = ""
|
||||||
|
|
||||||
otel_path = "opentelemetry-instrument" if os.getenv("USE_OTEL") else ""
|
|
||||||
print("using otel path: ", otel_path, os.getenv("USE_OTEL"))
|
|
||||||
proc = subprocess.Popen(
|
proc = subprocess.Popen(
|
||||||
[
|
[
|
||||||
f"{otel_path} python {bot_path} -u {room_url} -t {meeting_token} -k {daily_api_key} {extra_args}"
|
f"python {bot_path} -u {room_url} -t {meeting_token} -k {daily_api_key} {extra_args}"
|
||||||
],
|
],
|
||||||
shell=True,
|
shell=True,
|
||||||
bufsize=1,
|
bufsize=1,
|
||||||
|
|||||||
Reference in New Issue
Block a user