/shuttle-datadog-logs

🦀📓 Send your logs to Datadog from a Shuttle + Axum REST API

Primary LanguageRust

shuttle-datadog-logs

Rust

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.

Blog Post

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.

Endpoints

It exposes one endpoint:

  • GET / - Returns a 200 status code with a Hello, World! message.

Live demo

The project has been deployed with Shuttle. You can try it out by visiting the following URL: https://shuttle-datadog-logs.shuttleapp.rs.