-
Notifications
You must be signed in to change notification settings - Fork 144
OTEL for python extensions #472
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
Conversation
Minimum allowed line rate is |
aaronpowell
left a comment
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.
Is it possible to create a test to cover off the bug report?
| /// <param name="workingDirectory">The working directory for uv.</param> | ||
| public class UvAppResource(string name, string workingDirectory) | ||
| : PythonAppResource(name, "uv", workingDirectory), IResourceWithServiceDiscovery | ||
| public class UvAppResource(string name, string executablePath, string workingDirectory) |
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.
This is a breaking change.
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.
It sure is.
The uv extensions are under the umbrella of being experimental (there's an Experimental attribute on them) warning that the API is in flux.
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.
Great.
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.
Sadly, to solve this I had to make the executable a var instead of hardcoding "uv". Same for uvicorn. That's because when we want to run a python app with opentelemetry, the first command of the executable has to be open-telemetry.
Closes #470
PR Checklist