Operations | Monitoring | ITSM | DevOps | Cloud

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 - 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.

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.

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.

Instrumenting Node.js code with Prometheus custom metrics

Automatic instrumentation is great, but to get the most out of your monitoring you often need to instrument your code. In this article I am going to explain how to instrument a Node.js express app with custom metrics using the Prometheus prom-client package. Although this article specifically addresses Node.js and express, my hope is that the general concepts are applicable to other languages too.

Profiling Beta for Python and Node.js

A couple months ago, we launched Profiling in alpha for users on Python and Node.js SDKs — today, we’re moving Profiling for Python and Node.js to beta. Profiling is free to use while in beta — more updates to come when we near GA. Profiling is a critical tool for helping catch performance bottlenecks in your code. Sentry’s profiler gets you down to the exact file/line number in your code that is causing a slow-running query.

Winston Logger - Full tutorial with a sample Nodejs application

Winston Logger is one of the most popular logging libraries for Node.js. It is designed to be a simple and universal logging library supporting multiple modes of transport. A transport is essentially a storage device for the logs. Each logger can have multiple modes of transport configured at different levels. For example, one may want error logs stored in a database, but all logs output to the console or a local file. Some of the features of Winston logger are.