-
Notifications
You must be signed in to change notification settings - Fork 12
[Otel] fix otel spans and attributes #201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -29,5 +29,9 @@ configMapGenerator: | |
| - CORNSERVE_IMAGE_PREFIX=localhost:5000/cornserve | ||
| - CORNSERVE_IMAGE_PULL_POLICY=Always | ||
| - CORNSERVE_IMAGE_TAG=latest | ||
| # uncomment below to disable OTEL during benchmarking | ||
| # - OTEL_SDK_DISABLED=true | ||
| - OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT=16384 | ||
| - OTEL_SPAN_EVENT_COUNT_LIMIT=16384 | ||
| - OTEL_SPAN_LINK_COUNT_LIMIT=16384 | ||
| - OTEL_EVENT_ATTRIBUTE_COUNT_LIMIT=16384 | ||
| - OTEL_LINK_ATTRIBUTE_COUNT_LIMIT=16384 | ||
|
Comment on lines
+32
to
+36
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These OpenTelemetry settings are also duplicated in |
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -29,3 +29,8 @@ configMapGenerator: | |
| - CORNSERVE_IMAGE_PREFIX=docker.io/cornserve | ||
| - CORNSERVE_IMAGE_PULL_POLICY=Never | ||
| - CORNSERVE_IMAGE_TAG=latest | ||
| - OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT=16384 | ||
| - OTEL_SPAN_EVENT_COUNT_LIMIT=16384 | ||
| - OTEL_SPAN_LINK_COUNT_LIMIT=16384 | ||
| - OTEL_EVENT_ATTRIBUTE_COUNT_LIMIT=16384 | ||
| - OTEL_LINK_ATTRIBUTE_COUNT_LIMIT=16384 | ||
|
Comment on lines
+32
to
+36
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -43,7 +43,7 @@ def get_registry_entry(model_id: str) -> tuple[RegistryEntry, PretrainedConfig | | |||||
| class_name = model_index["_class_name"] | ||||||
| logger.info("Found pipeline class: %s", class_name) | ||||||
| except Exception: | ||||||
| logger.exception("Failed to load model_index.json from %s", model_id) | ||||||
| logger.warning("Failed to load model_index.json from %s", model_id) | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Changing from
Suggested change
|
||||||
|
|
||||||
| # Then, if that didn't work, try to parse config.json for model_type instead | ||||||
| if class_name is None: | ||||||
|
|
||||||
| +1 −1 | requirements/cuda.txt | |
| +1 −1 | vllm/entrypoints/openai/api_server.py | |
| +34 −1 | vllm/model_executor/models/qwen3_omni_moe_talker.py | |
| +75 −28 | vllm/v1/core/sched/scheduler.py | |
| +30 −2 | vllm/v1/engine/async_llm.py | |
| +1 −1 | vllm/v1/utils.py | |
| +315 −99 | vllm/v1/worker/gpu_model_runner.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These commented-out lines and the preceding blank line should be removed.
OTEL_SDK_DISABLED=trueis already configured viaENVon line 52. Leaving commented-out code, especially for configuration, can cause confusion and clutters the Dockerfile. If these are for developer convenience, they should be documented elsewhere, like in a developer guide.