Closed marcusschiesser closed 2 months ago
Latest commit: d2b2eb8d08cee168247def5ec65d676ef420ae5a
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
This update introduces enhanced observability support in Python applications, primarily through the integration of LlamaTrace and Traceloop. Key changes include a refactoring of observability handling, the addition of new environment variable management functions, and improved user interaction based on selected frameworks. Overall, these enhancements aim to streamline performance monitoring and debugging processes, providing developers with better tools for application insights.
File(s) | Change Summary |
---|---|
.changeset/chilled-dogs-compare.md |
Introduced LlamaTrace support, enhancing operation monitoring and tracing in Python applications. |
create-app.ts |
Refactored observability logic into outputObservability , adding flexibility for configuration options. |
helpers/env-variables.ts |
Added getObservabilityEnvs function; modified createBackendEnvFile to enhance environment variable handling. |
helpers/index.ts |
Simplified createBackendEnvFile call by passing the entire props object. |
helpers/python.ts |
Expanded observability checks in installPythonTemplate for "traceloop" and "llamatrace". |
helpers/types.ts |
Updated TemplateObservability type to include "traceloop" and "llamatrace". |
helpers/typescript.ts |
Modified observability logic in installTSTemplate and updatePackageJson to shift focus to Traceloop. |
questions.ts |
Updated askQuestions to include LlamaTrace option based on selected framework. |
templates/components/observability/... |
Introduced init_observability function in Python to manage observability setup with Arize Phoenix. |
sequenceDiagram
participant User
participant Framework
participant Observability
participant Environment
User->>Framework: Select framework
Framework->>User: Show observability options
User->>Framework: Choose observability type
Framework->>Observability: Configure observability
Observability->>Environment: Set environment variables
Environment->>Observability: Confirm setup complete
π In a world of code so bright,
Observability takes flight!
With LlamaTrace and Traceloop too,
Our debugging's now a breeze, it's true!
Letβs hop along this path so clear,
Monitoring made simple, letβs all cheer! π
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Enhancements
Bug Fixes