Operations | Monitoring | ITSM | DevOps | Cloud

NodeJS

Auto-Instrumenting Node.js with OpenTelemetry & Jaeger

Six months ago I attempted to get OpenTelemetry (OTEL) metrics working in JavaScript, and after a couple of days of getting absolutely no-where, I gave up. But here I am, back for more punishment... but this time I found success! In this article I demonstrate how to instrument a Node.js application for traces using OpenTelemetry and to export the resulting spans to Jaeger. For simplicity, I'm going to export directly to Jaeger (not via the OpenTelemetry Collector).

Node.js Logging Tutorial

Node.js logging is an important part of supporting the complete application life cycle. From creation to debugging to planning new features, logs support us all the way. By analyzing the data in the logs, we can glean insights, resolve bugs much quicker, and detect problems early and as they happen. In this post, we will talk about the who, what, when, where, how, and why of Node.js logging. Later in this post, the “how” section will give insights into using code.

Effective Logging in Node.js Microservices

Many modern software applications are built with a microservices architecture, and Node.js has become the runtime environment of choice for many developers building microservices. However, working with logs in microservices—especially as complex applications comprise dozens (or more) microservices—is a challenging and cumbersome endeavor. Logging is a crucial part of building and maintaining an application.

Three Code Instrumentation Patterns To Improve Your Node.js Debugging Productivity

In this age of complex software systems, code instrumentation patterns define specific approaches to debugging various anomalies in business logic. These approaches offer more options beyond the built-in debuggers to improve developer productivity, ultimately creating a positive impact on the software’s commercial performance. In this post, let’s examine the various code instrumentation patterns for Node.js.

4 Node.js Logging libraries which make sophisticated logging simpler

Node.js logging, like any form of software instrumentation, isn’t an easy thing to get right. It takes time, effort, and a willingness to continue to iterate until a proper balance is struck. There are so many points to consider, including: Previously, here on the Loggly blog, I began exploring these questions in the context of three of the most popular web development languages: PHP, Python, and Ruby. But these aren’t the only popular languages in use today.

Track Errors in Fastify with AppSignal

Fastify is a cutting-edge web framework for Node.js that offers exceptional speed and efficiency. With its extensible plugin system, support for asynchronous programming, and focus on minimalism, it is an ideal choice for backend developers developing Node.js applications. But even the most performant web applications can encounter issues that are difficult to debug without the proper tools in place. We will explore how to use AppSignal for a Fastify application.

Sponsored Post

How to measure and improve Node.js performance

Change is the only constant in software, and few languages change like JavaScript. In just the last few years, we've had the rise of TypeScript and React, dozens of new frameworks, and Node.js has brought us over to the server-side. Google's V8, which powers Node.js, is one of the fastest JavaScript engines in existence. In simple benchmarks, well-optimized JS executed by V8 often performs almost at the same speeds as famously fast languages like C++. And yet, Node applications often seem to be pretty sluggish. This post aims to guide you through the process of measuring and improving Node.js performance.

The Best Technology Platform for Developing mHealth Applications: Why Node.js in 2023?

One of the most interesting trends in contemporary medicine and digital healthcare is the growth of the mobile health (mHealth) sector. MHealth applications are gaining popularity as more individuals take charge of their health and well-being and are used to check vitals, monitor activities, and aid in the diagnosis of medical issues. Do you intend to create a mobile health application? If so, you should research the Node Js technology platform. It is the perfect option for rapidly and simply creating mHealth apps because of its speed, scalability, and performance attributes.

Graphite for Node.js Monitoring

In this article, we will look at how to monitor Node.js applications using Graphite and StatsD and plot the visualizations on a Grafana dashboard. Node.js is a popular framework for creating microservices. Its asynchronous nature allows for high scalability and low latency, especially for I/O bound tasks. However, it is important to have a proper monitoring setup for any application which is running in a production environment.