Operations | Monitoring | ITSM | DevOps | Cloud

Python

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.

Scheduling Python Scripts with Cron Jobs

Scheduling tasks to run automatically at set times or intervals is important in web development, system administration, and software engineering. This article shows how to schedule cron jobs in Python, making them work in different environments. Cron jobs help automate tasks like data backups, sending emails, generating reports, and more.

Instrumenting Lumigo for Python using OpenTelemetry

Standardized frameworks play a fundamental role in leveling the playing field and setting the standard within the tech industry, ensuring that everyone has access to the same tools and practices. These frameworks promote best practices and foster innovation and collaboration across different sectors. One example of such a framework is OpenTelemetry, a project that has rapidly gained traction and continued to flourish as an open-source initiative under the Cloud Native Computing Foundation (CNCF).

Dissecting MySQL Debugging with Node and Python - Part 2

In Part 1 of this blog, we prepared our demo container environments using Docker for the Node Express and Python Flask applications. Now, we move on to the more complex phase of our exploration, where we will dissect and explain the inner workings of our applications. This sequel is designed for those who want to improve their web development skills, offering a comprehensive guide to debugging and tracing.

How to instrument your Python application using OpenTelemetry

If you want to see if OpenTelemetry helps you become a better Python developer — or if you just want to know how to add OpenTelemetry to your Python service — you’ve come to the right place. In this blog, we’ll show you how to instrument your Python application using OpenTelemetry and how to visualize your OpenTelemetry data using Application Observability in Grafana Cloud. We’ll walk you through the following steps.

Monitoring apps based on Falcon Web Framework with OpenTelemetry

Falcon is a minimalist Python web API framework for building robust applications and microservices. It also compliments many other Python frameworks by providing extra reliability, flexibility, and performance. Using OpenTelemetry, you can monitor your Falcon applications for performance by collecting telemetry signals like traces. Instrumentation is the biggest challenge engineering teams face when starting out with monitoring their application performance.