Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
9eee5354
Unverified
Commit
9eee5354
authored
Mar 19, 2026
by
jh-nv
Committed by
GitHub
Mar 19, 2026
Browse files
fix: observability fixes for OTEL tracing and logging (#7240)
Signed-off-by:
Jie Hao
<
jihao@nvidia.com
>
parent
ae9ffa35
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
deploy/observability/tempo-datasource.yml
deploy/observability/tempo-datasource.yml
+3
-1
lib/bindings/python/src/dynamo/runtime/logging.py
lib/bindings/python/src/dynamo/runtime/logging.py
+4
-1
pyproject.toml
pyproject.toml
+1
-1
No files found.
deploy/observability/tempo-datasource.yml
View file @
9eee5354
...
@@ -20,7 +20,9 @@ datasources:
...
@@ -20,7 +20,9 @@ datasources:
filterByTraceID
:
false
filterByTraceID
:
false
filterBySpanID
:
false
filterBySpanID
:
false
customQuery
:
true
customQuery
:
true
query
:
'
{service_name=~".+"}
|
trace_id
=
"$${__span.traceId}"'
query
:
'
{service_name=~".+"}
|
trace_id
=
"$${__trace.traceId}"'
spanStartTimeShift
:
"
-1h"
spanEndTimeShift
:
"
1h"
search
:
search
:
hide
:
false
hide
:
false
nodeGraph
:
nodeGraph
:
...
...
lib/bindings/python/src/dynamo/runtime/logging.py
View file @
9eee5354
...
@@ -89,12 +89,15 @@ class VllmColorFormatter(logging.Formatter):
...
@@ -89,12 +89,15 @@ class VllmColorFormatter(logging.Formatter):
else
:
else
:
target
=
record
.
module
target
=
record
.
module
msg
=
record
.
getMessage
()
msg
=
record
.
getMessage
()
re
turn
(
re
sult
=
(
f
"
{
self
.
_DIM
}{
ts
}{
self
.
_RESET
}
"
f
"
{
self
.
_DIM
}{
ts
}{
self
.
_RESET
}
"
f
"
{
color
}{
level
:
>
5
}{
self
.
_RESET
}
"
f
"
{
color
}{
level
:
>
5
}{
self
.
_RESET
}
"
f
"
{
self
.
_DIM
}{
target
}{
self
.
_RESET
}{
self
.
_DIM
}
:
{
self
.
_RESET
}
"
f
"
{
self
.
_DIM
}{
target
}{
self
.
_RESET
}{
self
.
_DIM
}
:
{
self
.
_RESET
}
"
f
"
{
msg
}
"
f
"
{
msg
}
"
)
)
if
record
.
exc_info
and
record
.
exc_info
[
0
]
is
not
None
:
result
+=
"
\n
"
+
self
.
formatException
(
record
.
exc_info
)
return
result
# Configure the Python logger to use the NimLogHandler
# Configure the Python logger to use the NimLogHandler
...
...
pyproject.toml
View file @
9eee5354
...
@@ -50,7 +50,7 @@ trtllm =[
...
@@ -50,7 +50,7 @@ trtllm =[
vllm
=
[
vllm
=
[
"uvloop"
,
"uvloop"
,
"nixl[cu12]<=0.10.1"
,
"nixl[cu12]<=0.10.1"
,
"vllm[flashinfer,runai]==0.17.1"
,
"vllm[flashinfer,runai
,otel
]==0.17.1"
,
# vllm-omni 0.16.0 is now on PyPI; install only future rc builds from source in container builds
# vllm-omni 0.16.0 is now on PyPI; install only future rc builds from source in container builds
# (see container/deps/vllm/install_vllm.sh). pip install ai-dynamo[vllm] will
# (see container/deps/vllm/install_vllm.sh). pip install ai-dynamo[vllm] will
# not include vllm-omni — install it separately from source if needed.
# not include vllm-omni — install it separately from source if needed.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment