© Waldemar Quevedo 2018
Waldemar QuevedoPractical NATShttps://doi.org/10.1007/978-1-4842-3570-6_7

7. Monitoring NATS

Waldemar Quevedo1 
(1)
San Francisco, California, USA
 

NATS uses a simple /varz monitoring style after a practice followed at Google.1 By inspecting the data from the monitoring port from NATS, we can better understand the performance of the system as a whole and make data-based decisions on whether to scale up the services, or to investigate and find bad actors in the system.

In this chapter, we take a look in detail at some of the monitoring options provided by the server, taking as an example the setup from the application that we developed in the previous chapter.

Server Instrumentation

When monitoring is enabled in gnatsd, the server ...

Get Practical NATS: From Beginner to Pro now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.