This project shows how to use a Shuttle-powered Axum REST API that makes use of Datadog to manage logs.
We will be using the dd-tracing-layer crate to send the logs to Datadog.
This project is a companion to the blog post: Send the logs of your Shuttle-powered backend to Datadog blog post.
Also available in dev.to and Medium.
It exposes one endpoint:
GET /- Returns a200status code with aHello, World!message.
The project has been deployed with Shuttle. You can try it out by visiting the following URL: https://shuttle-datadog-logs.shuttleapp.rs.
