DEV Community

Cover image for Observability 101: A Beginner's Journey Free of Print Statements.
Cloud Native Engineer
Cloud Native Engineer

Posted on

1

Observability 101: A Beginner's Journey Free of Print Statements.

Abandon your Print statements and embark on a long journey to master Observability.

  • 🚫 No More Print Statements: Avoid using print statements (a poor's man tool); instead, use structured logs, metrics, and traces.
  • 🔍 Key Tools: Use logs for events, metrics for counts, traces for durations, and debuggers for state inspection.
  • 📜 Short history of Observability: how we moved from print statements to monitoring to the modern approach on observability
  • ☁️ Cloud-Native Focus: what are the causes for the adoption of Observability over monitoring.
  • 📚 Learn More: Links to explore more about Observability.

There are many ways a print statement should be replaced with better Observability options:
• Tracking a specific event (e.g. an error or a warning) => Logs
• Counting the number of times an event occurs (e.g. number of times a web application receives a request) => Metrics
• Timing the duration of a function (e.g. how long does it take to query a database?) => Traces
• Printing error Stacktraces => Error tracking software
• Checking the internal state of variables while developing => Debugger with breakpoints

Read the full article at https://cloudnativeengineer.substack.com/p/observability-101-free-of-print-statements

--
Are you ready to take your skills to new heights? 🚀

🚢 Let's embark on this journey together!

👣 Follow me to receive valuable content on AI, Kubernetes, System Design, Elasticsearch, and more.

📬 Be part of an exclusive circle by subscribing to my newsletter on Substack.

🎓 If you are looking for personalized guidance, I am here to support you. Book a mentoring session with me at https://mentors.to/gsantoro on MentorCruise, and let's work together to unlock your full potential.

♻️ Remember, sharing is caring! If this content has helped you, please re-share it with others so they can benefit from it.

🤩 Let's inspire and empower each other to reach new heights!

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

Top comments (0)

Billboard image

Try REST API Generation for MS SQL Server.

DevOps for Private APIs. With DreamFactory API Generation, you get:

  • Auto-generated live APIs mapped from database schema
  • Interactive Swagger API documentation
  • Scripting engine to customize your API
  • Built-in role-based access control

Learn more

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay