We're excited to announce that AppSignal now supports Pino logs, making managing and monitoring your logging data easier than ever. By sending Pino logs directly to AppSignal, you can consolidate all your data in one place, giving you a clear overview of your app's performance for faster troubleshooting.
Importantly, AppSignal now also works with Fastify 5, making it a great choice for Fastify developers looking for an APM that integrates seamlessly with their stack.
In this blog post, we'll provide a brief overview of AppSignal's Log Management and explain how to send logs from your Node.js and Fastify applications to AppSignal.
Delve Deeper Into Node.js App Performance with Pino and AppSignal Log Management
AppSignal's Log Management gives you deeper insights into your app's performance, making it easier to pinpoint issues and deploy fixes quickly.
Gain answers to questions like:
What is the severity level of my Pino logs during specific incidents?
Are log attributes like status codes and UUIDs correlating with performance?
Were there any patterns in logging activity before an incident occurred?
Which dependencies or external services impacted my app's performance?
With AppSignal's clear, actionable log insights at your fingertips, you can troubleshoot issues faster, resolve errors with confidence, and keep your app running smoothly.
Access Your Logs in AppSignal: Anytime, Anywhere
AppSignal lets you quickly see what's happening behind the scenes when an issue occurs, giving you the context you need to resolve issues faster.
With Time Detective, you can dive straight into a filtered view of your Pino logs from error overviews, performance samples, anomalies, or anywhere in the AppSignal app.
Pin-point Logs with Simple Querying and Filtering
AppSignal makes querying and filtering your logs simple and intuitive: there's no need for complex query languages. Say goodbye to repetitive searches and enjoy a streamlined log management experience tailored to your needs.
Our easy-to-use filtering and query options allow you to quickly zero in on the logs you need. Plus, you can create and save custom views, allowing you to access frequently queried data with just a few clicks.
Trigger Alerts with Log Attributes
AppSignal can alert you whenever a log contains a specific attribute, so you're always notified when critical events occur.
Log triggers allow you to set up notifications for particular log attributes, such as response times or severity levels. With AppSignal's triggers, you'll know as soon as something requires your attention, helping you proactively address issues when they arise.
Visualize Log Severity to Gauge Performance at a Glance
With AppSignal, you don't need to export or manually query your logging data with third-party tools. Our intuitive interface visualizes log severity, giving immediate insights and a clear overview of your application's health.
View severity levels at a glance to quickly identify trends, spot potential issues, and better understand your app's performance without taking extra steps.
Sending Your Pino Logs to AppSignal
Using the Pino transport and AppSignal logger, you can easily send your Pino logs straight to AppSignal. AppSignal also allows you to group your logs via namespace, allowing for streamlined log organization and quick access to specific namespace logs (such as logs for your background workers or admin workers).
To get started, make sure you're using version 3.5.1 or higher of our Node.js package, import AppSignal, and pass our transport to the Pino log transport.
Here's how you can send logs to AppSignal in Fastify applications:
import Fastify from "fastify"; import pino from "pino"; import { Appsignal, AppsignalPinoTransport } from "@appsignal/nodejs"; const logger = pino( AppsignalPinoTransport({ client: Appsignal.client, group: "application" }) ); const fastify = Fastify({ loggerInstance: logger })
And here's how in Node.js applications:
import pino from "pino"; import { Appsignal, AppsignalPinoTransport } from "@appsignal/nodejs"; const logger = pino( AppsignalPinoTransport({ client: Appsignal.client, group: "application", }) );
Once configured, the Pino transport will begin sending your logs to AppSignal. You can then view, query, and live trail those logs directly within AppSignal, for real-time insights into your application's performance.
More Than Just Log Management with AppSignal
AppSignal is trusted by thousands of developers to help them deploy and build apps confidently. Developers choose AppSignal for the 360-degree insights it provides into app performance, and they consistently praise us for having:
- An intuitive interface that's easy to navigate.
- Simple and predictable pricing.
- Friendly developer-to-developer support.
Next Steps
Now that you've learned more about how AppSignal can help you maximize your application's potential, you can:
- Experience Log Management for yourself with a free trial of AppSignal
- Read our logging documentation
- Learn more about logging with AppSignal
- See what Node.js packages we support
If you have a logging or monitoring question you can't find the answer to, let us know. Our dev-to-dev support team is here to assist with all of your monitoring inquiries.