-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Runtime:
Rust
Is your feature request related to a problem? Please describe
In the Serverless Lens for the Well Architected Framework, we suggest several best practices for observability such as structured logging, distributed tracing, and monitoring of metrics. The suite of utilities of the AWS Lambda Powertools help developers with the adoption of best practices.
Today, AWS Lambda Powertools is available for the Python and Java runtimes.
In addition to the powertools the crate, the documentation site can help people new to Rust and AWS Lambda to get up in running
Describe the solution you'd like
AWS Lambda Powertools available for Provided
runtimes, written in Rust.
Describe alternatives you've considered
There is almost no alternatives or guidance that i have seen so far.
If you provide guidance, is this something you'd like to contribute?
Absolutely yes.
Additional context
The Rust Powertools will follow the same tenets as the other languages, and folks can expect the same core utilities/ functionalities being supported.
This request is based on #26 :)
Activity
michaelbrewer commentedon Nov 12, 2021
I assume @nmoutschen you are already running this and have a crate (namespace)
nmoutschen commentedon Nov 12, 2021
Yep! I've reserved the lambda-powertools crate and am working on a DX proposal at the moment.
ZackKanter commentedon Sep 13, 2022
Any chance of re-opening this ticket?
heitorlessa commentedon Sep 19, 2022
@ZackKanter thanks for the nudge!
As of now, we don't have plans to create Lambda Powertools for Rust due to skill set (@nmoutschen left) and staffing (not planned in the foreseeable future for Rust) -- We'll happily update this issue if that changes it.
nabsource commentedon Mar 31, 2023
Not sure if anything has changed, but wanted to say this would be welcome
BMorinDrifter commentedon Jun 30, 2023
I'm doing some work to close the gap a bit, at least for metrics.
https://crates.io/crates/metrics_cloudwatch_embedded
Example
Output
Under the hood
tower::Service
is used to hook up decoration before the handler (or inner service) and to flush metrics after the handler.philschmid commentedon Dec 11, 2023
Is there an update on this? @nmoutschen
nmoutschen commentedon Dec 11, 2023
I no longer work at AWS, so unfortunately, I do not know
heitorlessa commentedon Dec 11, 2023
philschmid commentedon Dec 11, 2023
Too bad i was hoping after the rust sdk v1 release this might come too.
LordMoMA commentedon Dec 16, 2024
what about 2025, any Rust support?
[-]Add Rust support for AWS Lambda Powertools[/-][+]Feature Request: add Rust support to Powertools for AWS[/+]