vllm - 💡(How to fix) Fix [Feature]: aiohttp tracing leaks image urls and cannot be disabled [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
vllm-project/vllm#41146Fetched 2026-04-29 06:12:05
View on GitHub
Comments
0
Participants
1
Timeline
1
Reactions
0
Author
Participants
Timeline (top)
labeled ×1
RAW_BUFFERClick to expand / collapse

🚀 The feature, motivation and pitch

This code creates opentelemetry spans with URLs in those, which might have sensitive info: https://github.com/vllm-project/vllm/blob/de3da0b97cd9db8b1d429312992a5759c89ef881/vllm/multimodal/utils.py#L284 aiohttp support sanitizing it https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/util/opentelemetry-util-http/src/opentelemetry/util/http/__init__.py#L338 But there is no way to configure it from the vLLM: https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/instrumentation/opentelemetry-instrumentation-aiohttp-client/src/opentelemetry/instrumentation/aiohttp_client/__init__.py#L484

Alternatives

No response

Additional context

No response

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

extent analysis

TL;DR

Configure OpenTelemetry to sanitize URLs in spans to prevent sensitive information exposure.

Guidance

  • Review the OpenTelemetry configuration options to determine if there's an existing setting to sanitize URLs in spans.
  • Investigate the opentelemetry-instrumentation-aiohttp-client library to see if there's a way to pass sanitization options from the vLLM code.
  • Consider creating a custom wrapper or middleware to sanitize URLs before creating OpenTelemetry spans.
  • Check the OpenTelemetry documentation for any examples or guidance on sanitizing sensitive information in spans.

Example

No code example is provided due to the lack of specific implementation details.

Notes

The solution may require modifying the vLLM code or the OpenTelemetry configuration, and may involve creating custom wrappers or middleware.

Recommendation

Apply a workaround by creating a custom solution to sanitize URLs in OpenTelemetry spans, as there is no clear indication that an existing configuration option or fixed version is available.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING