Skip to content

Commit 52aca23

Browse files
sg263Jiang-Jia-Jun
andauthored
[Trace] fix annotation when add opentelemetry (#2869)
* add opentelemetry * add opentelemetry * add opentelemetry on dequeue * add opentelemetry on dequeue * add opentelemetry on dequeue * fix annotation * fix annotation when add opentelemetry * fix opentelemetry-instrumentation-fastapi * fix pentelemetry-bootstrap --------- Co-authored-by: Jiang-Jia-Jun <163579578+Jiang-Jia-Jun@users.noreply.github.com>
1 parent 9c25dcc commit 52aca23

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

fastdeploy/engine/engine.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ class LLMEngine(object):
5757
Attributes:
5858
cfg (Config): Configuration object containing all the parameters.
5959
cached_generated_tokens (queue.Queue): Queue to store generated tokens.
60-
cached_generated_tokens (queue.Queue): Queue to store generated tokens.
6160
scheduler (LocalScheduler or GlobalScheduler): Scheduling tasks.
6261
input_processor (InputPreprocessor): Preprocessor for input data.
6362
resource_manager (ResourceManager): Manager for resource allocation.

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ opentelemetry-instrumentation-redis
3636
opentelemetry-instrumentation-mysql
3737
opentelemetry-distro 
3838
opentelemetry-exporter-otlp
39-
39+
opentelemetry-instrumentation-fastapi

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ def run(self):
150150
install.run(self)
151151
# 执行自定义命令
152152
subprocess.check_call(["opentelemetry-bootstrap", "-a", "install"])
153-
subprocess.check_call(["pip", "install", "opentelemetry-instrumentation-fastapi"])
154153

155154
def load_requirements():
156155
"""Load dependencies from requirements.txt"""

0 commit comments

Comments
 (0)