-
Notifications
You must be signed in to change notification settings - Fork 852
Otel oss integration #1462
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
Otel oss integration #1462
Changes from all commits
eccd7e5
e1aac63
de48b9a
436eee4
8eb9559
c4e4d3d
9c31d3b
85a43dc
6d5afc6
4f64784
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 |
---|---|---|
|
@@ -3,6 +3,9 @@ | |
import random | ||
import time | ||
|
||
from metaflow.tracing import inject_tracing_vars | ||
|
||
|
||
from metaflow.exception import MetaflowException | ||
from metaflow.metaflow_config import KUBERNETES_SECRETS | ||
|
||
|
@@ -135,6 +138,10 @@ def create(self): | |
"METAFLOW_KUBERNETES_SERVICE_ACCOUNT_NAME": "spec.serviceAccountName", | ||
"METAFLOW_KUBERNETES_NODE_IP": "status.hostIP", | ||
}.items() | ||
] | ||
+ [ | ||
client.V1EnvVar(name=k, value=str(v)) | ||
for k, v in inject_tracing_vars({}).items() | ||
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. This seems to lead to unnecessary import errors in the task logs
when running with Kubernetes 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. only happens when trying to enable telemetry, but not including required libraries with either conda / a custom docker image. I think this is a good notification as is so no need to change things. |
||
], | ||
env_from=[ | ||
client.V1EnvFromSource( | ||
|
Uh oh!
There was an error while loading. Please reload this page.