Comments (9)
Hi, thank you for the feedback. Chalice support is in our backlog and we will work with Chalice team to prioritize this feature. Please stay tuned. Please feel free to let us know any use case or functionalities you are specifically looking for.
from aws-xray-sdk-python.
Ideally, we can patch Chalice by simply calling patch_all()
and all invocations in @app.route
methods will present in XRay as a segment, with all good metadata like path and stuff.
from aws-xray-sdk-python.
@haotianw465 Any updates on the chalice support? We would really love to use XRay with our chalice projects.
We are hitting the same issue mentioned by @jarikujansuu here - aws/chalice#464 (comment)
from aws-xray-sdk-python.
I want this very much - and all i need in my use case is to be able to decorate a function with @xray_recorder.capture("name.of.metric.") and see it in the aws console.
from aws-xray-sdk-python.
My use case is covered by my comment in the Chalice GitHub issue. Since Chalice doesn't expose a top level app variable, I would expect a simple decorator on each of my routes, Lambda functions, etc. I am open to whatever simple way AWS thinks makes the most sense. I would prefer not having to decorate each function, but rather have it handle everything similar to Flask.
There's nice middleware support for Flask, would be awesome to see Chalice treated as a first-class citizen the same way. See https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-python-middleware.html#xray-sdk-python-adding-middleware-flask
from aws-xray-sdk-python.
Is there an update on the progress of this?
from aws-xray-sdk-python.
Hey,
This is still something that's in our backlog and we will work with the Chalice team to prioritize this accordingly. Please stay tuned!
from aws-xray-sdk-python.
Hi @chanchiem! Is there any update for x-ray?
from aws-xray-sdk-python.
Hi @futurama92 ,
Unfortunately we haven't been able to prioritize the Chalice support on our end. There was an effort made to add the X-Ray support to Chalice on the repo which doesn't seem to be active recently. We absolutely welcome any contribution for this feature.
We will post an update as soon as possible. Thanks for your patience!
from aws-xray-sdk-python.
Related Issues (20)
- Bug: nested subsegments don't work across threads HOT 4
- IndexError when using AWS X-Ray SDK with SQLAlchemy HOT 1
- EKSPlugin HOT 1
- Very rare ReferenceError HOT 2
- Support for psycopg3 HOT 2
- Link a Textract async operation with downstream process HOT 1
- Current tox versions do not like how testenv.passenv is set
- aws_xray_sdk.core.exceptions.exceptions.SegmentNameMissingException: Segment name is required. HOT 1
- Using psycopg2 connection_factory throws exceptions HOT 4
- Documentation for patch_all HOT 2
- Sampling configuration should discuss DefaultSampler vs. LocalSampler HOT 1
- Flask middleware errors when an earlier Flask extension throws an exception in a before_request method HOT 1
- Patched DB cursor and template may record outside of XRayMiddleware HOT 2
- Segment not propgated when subsegment metadata is sufficiently long HOT 4
- sqlalchemy_core patch errors for unencoded special characters in db url HOT 1
- Error when using AsyncContext in python 3.11.5 HOT 3
- MongoDB AttributeError: 'NoneType' object has no attribute 'put_annotation'
- aws-xray-sdk-python compatibility with Python 3.12 HOT 9
- Fix docstring in Entity.close() HOT 1
- No supported for fastAPI, need to add middleware for fastapi HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-xray-sdk-python.