| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
This example illustrates a nodejs API built with API Gateway and AWS Lambda, and instrumented with OpenTelemetry.
This is a simple API to manage blog posts with 2 end-points:
{
"title": "The blog post title",
"content": "The content of the blog post"
}To illustrate how Baselime works, this app makes a few external calls:
This app illustrates how to:
Get your BASELIME_API_KEY and add it to your Lambda function env variables.
Deploy the app
Create blog post
curl $LAMBDA_URL \
-d '
{
"title": "Hello, World!",
"content": "Just Do It!"
}
'Retrieve a blog post
curl $LAMBDA_URL Visit the Baselime Web UI to visualise your logs, metrics and traces.
| Back | FazBrowse Home | New Git URL |