Operations | Monitoring | ITSM | DevOps | Cloud

Python

How to Send Python Logs to Loggly

Logging in a Python application is straightforward. When you have good logs, you have better visibility into application health. You can monitor performance and track user activity. You’re better equipped to debug errors. Life is good. The challenges come when your application grows more complex. Perhaps your Python code is part of a broader application, or you have services distributed across multiple machines or clouds.

Instrumenting Python GIL with eBPF

Every Python developer has heard about the GIL (Global Interpreter Lock) This lock simplifies memory management and ensures thread safety, but it also limits the performance of multi-threaded, CPU-bound programs because threads can’t run Python code in parallel. Here is a great explanation of why Python requires the GIL by Python’s creator, Guido van Rossum: Guido van Rossum: Will Python ever remove the GIL? | Lex Fridman Podcast Clips.

Python Flask instrumentation using OpenTelemetry | SigNoz

In this video, you will learn how to instrument your Python Flask application using OpenTelemetry and monitor your trace data in SigNoz. Link to Document used in this video More about SigNoz: SigNoz - Monitor your applications and troubleshoot problems in your deployed applications, an open-source alternative to DataDog, New Relic, etc. Backed by Y Combinator. SigNoz helps developers monitor applications and troubleshoot problems in their deployed applications. SigNoz uses distributed tracing to gain visibility into your software stack.

Test and deploy containerized PyTorch models to Heroku

PyTorch is an open source machine learning (ML) framework that makes it easy for researchers and developers to move their projects from prototyping to production. With PyTorch, you don’t have to learn complex C++ code - you can use regular Python for your ML projects. This makes it a great choice for anyone who wants to get started quickly and easily with ML.

Pytest: Getting started with automated testing for Python

Testing Python applications is critical to ensuring they function as intended in real-world scenarios. Among the numerous testing frameworks available for Python, pytest stands out as a primary choice for many developers. Renowned for its straightforward yet powerful features, pytest makes writing and running tests efficient and effective. In this guide, we’ll explore how to get started with pytest, from installation to writing your first tests.

Track Errors in Your Python Flask Application with AppSignal

In this article, we'll look at how to track errors in a Flask application using AppSignal. We'll first bootstrap a Flask project, and install and configure AppSignal. Then, we'll introduce some faulty code and demonstrate how to track and resolve errors using AppSignal's Errors dashboard. Let's get started!

Track Errors in FastAPI for Python with AppSignal

When you first try a new library or framework, you are excited about it. However, as soon as you run something on production, things are less than ideal — an error here, an exception there - bugs everywhere! You start reading your logs, but you often lack context, like how often an error happens, in what line, etc. Fortunately, tools such as AppSignal can help. AppSignal helps you track your errors and gives you a lot of valuable insights.

The 7 Most Common Python Debugging Challenges and How to Handle Them

According to PYPL (PopularitY of Programming Language), Python has been the most popular programming language worldwide from 2018 to the present. Remarkably, Python’s popularity has grown by 2.5% over the last five years. In contrast, Java, the previously most popular language, has seen a 4.8% decrease in its popularity. While Java is typically faster than Python, Python is easier to read with its simpler syntax.