build(deps-dev): bump serverless from 3.38.0 to 4.2.4
Bumps serverless from 3.38.0 to 4.2.4.
Release notes
Sourced from serverless's releases.
4.2.4
Hidden costs in AWS Lambda deployments can quickly add up, particularly from logs, metrics, and traces. These expenses often catch teams by surprise, impacting budgets and operational efficiency.
That’s where Axiom comes in—a standout observability solution that combines a sleek user experience with competitive pricing and an impressive free tier offering 500GB/month of data ingestion.
We’re excited to introduce Axiom’s integration with the Serverless Framework. With a simple, one-line configuration in your serverless.yml file, you can easily enhance your monitoring capabilities without breaking the bank.
Cost Comparison Switching from AWS CloudWatch to Axiom can lead to substantial cost savings due to the significant price difference between the two services:
- Axiom: $0.15/GB of ingested data
- AWS CloudWatch: $0.50/GB of ingested data
For example, when managing 5 TB of daily log data, Axiom’s pricing results in a total daily cost of $750 and a monthly cost of $22,500. In contrast, AWS CloudWatch costs $2,650 daily and $79,500 monthly for the same amount of data. This means that by choosing Axiom, companies can save $57,000 per month, which equates to a 70% reduction in costs compared to using CloudWatch.
These savings not only free up budget for other initiatives but also come with the added benefit of Axiom’s more powerful and user-friendly platform for managing and analyzing logs, offering deeper insights and faster problem resolution.
Set Up Axiom with the Serverless Framework Create an Axiom account (Axiom offers a very generous free tier).
Create or join an organization in Axiom–but skip the step to create a Dataset in the Axiom onboarding process, as it will be done automatically and designed per best practices by the Serverless Framework. Instead, click the setting icon in the Dashboard, select API Tokens on the left, and select New API Token.
Enter a name, choose “None” for Expiration, then click the Advanced tab to select the permissions your token should have.
Assign the Ingest, Query, Dashboards, Datasets, and Monitors permissions.
Set the
AXIOM_TOKENenvironment variable in your CI/CD pipeline or locally. The value should be the API token you created in Axiom.export AXIOM_TOKEN=your-axiom-access-tokenIn your
serverless.ymlfile, add theobservabilityproperty to the stages block, and useaxiomas the provider. Here is the easiest way to configure Axiom across all Stages within your serverless application.service: my-apistages:
production:
observability: axiomfunctions:
api_products:
handler: handler.products
events:
- http:
path: /ecommerce/products
method: get
... (truncated)
Changelog
Sourced from serverless's changelog.
Changelog
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
Commits
0b15744chore: update v4 feature listefc4c17chore: improve axiom troubleshooting docs7de1dbcdocs: axiom integration (#12773)2930513chore: add sam and cloudformation support to readmebf0430fchore: remove discussions link0eed360docs: add note on supported SAM/CF files (#12768)aaaa66dfix: resolvers docs links (#12767)7e663b4docs: add general Resolvers and AWS Resolver specific documentation (#12756)8b8a749docs(sam): add sam docs to menu (#12766)0313fa5docs(sam): update SAM/CFN docs add remove docs (#12765)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)