Everyone can contribute! Learn DevOps and Cloud Native in our cafe ☕


Technology is moving fast in the DevOps and Cloud Native community.

Join the conversation and add your thoughts, tips, experiences, stories.

"Everyone Can Contribute" is inspired by GitLab's mission.

36. #EveryoneCanContribute cafe: Learn Rust with Rocket web app & Prometheus Monitoring


Learn developing a web app with Rocket.rs in Rust. Add monitoring metrics for Prometheus with rocket_prometheus.

Recording

Enjoy the session! 🦊


Highlights

We decided to go with Rocket.rs Getting Started and learn how to register handles with the web app. We also learned about managing Cargo dependencies and Cargo targets.

After finishing the implementation, we wanted to add Prometheus Monitoring metrics with rocket_prometheus. Since Rocket requires Rust nightly builds, we also needed to use the main.rs example from the async branch.

We used Gitpod and the GitLab Web IDE to develop only in the browser, and allowing everyone to follow async.

Insights


Date published: June 30, 2021

Tags: Rust, Development, Prometheus, Learn, Metrics