Operations | Monitoring | ITSM | DevOps | Cloud

NodeJS

Set Up Tracing for a Node.js Application on AppSignal

Node.js is a very popular JavaScript runtime for the backend. Its usage has grown steadily in the past years. Some notable users of Node.js include Netflix, PayPal, Uber, and eBay. In this post, you will learn how to add tracing to a Node.js application on AppSignal. You will use an existing Quotes app that talks to a PostgreSQL database to fetch the quotes. Let’s get going!

Transport Your Logs to AppSignal with Winston

AppSignal Logging gives you 360-degree insights into your application's performance. To help give you those insights, we wanted to ensure our logging solution allowed you to send AppSignal your logs your way. You can now use Winston transport to send your Node.js application's logs directly to AppSignal and take advantage of having access to all of your application's performance logs and metrics in one place.

Monitoring your Express application using OpenTelemetry

Nodejs is a popular Javascript runtime environment that executes Javascript code outside of a web browser. Express is the most popular web frameworks that sits on top of Nodejs and adds functionalities like middleware, routing, etc. to Nodejs. You can monitor your express application using OpenTelemetry and a tracing backend of your choice.

Monitor your Nodejs application with OpenTelemetry and SigNoz

OpenTelemetry can auto-instrument many common modules for a Javascript application. The telemetry data captured can then be sent to SigNoz for analysis and visualization. OpenTelemetry is a set of tools, APIs, and SDKs used to instrument applications to create and manage telemetry data(Logs, metrics, and traces). For any distributed system based on microservice architecture, it's an operational challenge to solve performance issues quickly.

Node.js Example - Remote Development

This video demonstrates how to perform remote development on a Node.js environment by synchronizing files between the local machine and the remote environment. Using the demo books application, learn how to initiate remote development and sync local files with the remote backend component. This process involves starting an SSH server in the container, manually restarting the application, and making changes to the application that automatically trigger a restart upon saving.

Node.js Example - Remote Debugging with Your Local IDE

In this video, learn how to debug a remote development session in Node.js using the previously deployed demo books application. Follow the steps to set up port forwarding and configure the IDE to map local folders to remote folders in the container. By starting the process in development mode with the inspect flag, discover how to enable the IDE to connect to the running process in the container. The demo includes setting breakpoints and stepping through code during debugging.

Node.js Example - Deploy an Environment

In this video, learn how to create and deploy a Node.js environment in Bunnyshell. The example application consists of a React frontend, an Express backend, and a Postgres database. Follow the step-by-step guide on leveraging a Docker Compose file to set up the environment, customizing settings, and deploying the environment to a Kubernetes cluster. Once the environment is deployed, discover how to add and edit books in the demo application.

Set up application monitoring for your Node JS app in 20 mins with open source - SigNoz

In this article, learn how to setup application monitoring for Node.js apps with our open-source solution, SigNoz. Node.js tops the list of most widely used frameworks by developers. Powered by Google's V8 javascript engine, its performance is incredible. Ryan Dahl, the creator of Node.js, wanted to create real-time websites with push capability. On Nov 8, 2009, Node.js was first demonstrated by Dahl at the inaugural European JSconf.

Monitor the Health of Your Node.js Application

Node.js is a popular choice for creating a scalable and highly performant web app. Its event-driven, non-blocking I/O model makes it well-suited for building real-time, data-intensive applications. Maintaining the health of your Node.js app includes monitoring and tracking several metrics over time to better understand how your app is performing. Monitoring your application's health is important to ensure its smooth operation and a good user experience.

The 2023 guide to React debugging

As React is the most popular JavaScript framework for creating component-based applications, you have access to a solid ecosystem of tools, resources, and best practices that can help with React debugging when something goes wrong. To create a high-quality React application, you can’t skip over the debugging phase of your software development life cycle including everything from addressing error messages coming up in the development phase to monitoring live errors in production.