Reader small image

You're reading from  Designing Microservices Platforms with NATS

Product typeBook
Published inNov 2021
PublisherPackt
ISBN-139781801072212
Edition1st Edition
Concepts
Right arrow
Author (1)
Chanaka Fernando
Chanaka Fernando
author image
Chanaka Fernando

Chanaka Fernando is a solution architect with 12+ years of experience in designing, implementing, and supporting enterprise-scale software solutions for customers across various industries including finance, education, healthcare, and telecommunications. He has contributed to the open source community with his work (design, implementation, and support) as the product lead of the WSO2 ESB, one of the founding members of the "Ballerina: cloud-native programming language" project, and his own work on GitHub. He has spoken at several WSO2 conferences and his articles are published on Medium, DZone, and InfoQ. Chanaka has a bachelor's degree in electronics and telecommunications engineering from the University of Moratuwa.
Read more about Chanaka Fernando

Right arrow

Using NATS observability in a microservices architecture

So far, we have discussed microservice observability and NATS observability as two separate topics. Let's aggregate these topics and produce a common approach to implement observability for a microservices-based platform. The best way to learn a concept is to try with a practical example. Let's build a simple application that has two microservices written in Go. These microservices are called publisher and subscriber. We are going to use the open source observability tools Prometheus, Grafana, and Loki in this example.

The following figure shows the example application that we are going to build:

Figure 8.6 – Microservices observability example with Prometheus, Grafana, and Loki

The preceding figure depicts a simple application, consisting of a publisher microservice and a subscriber microservice interacting with each other using the NATS server. We have set up our monitoring ecosystem...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Designing Microservices Platforms with NATS
Published in: Nov 2021Publisher: PacktISBN-13: 9781801072212

Author (1)

author image
Chanaka Fernando

Chanaka Fernando is a solution architect with 12+ years of experience in designing, implementing, and supporting enterprise-scale software solutions for customers across various industries including finance, education, healthcare, and telecommunications. He has contributed to the open source community with his work (design, implementation, and support) as the product lead of the WSO2 ESB, one of the founding members of the "Ballerina: cloud-native programming language" project, and his own work on GitHub. He has spoken at several WSO2 conferences and his articles are published on Medium, DZone, and InfoQ. Chanaka has a bachelor's degree in electronics and telecommunications engineering from the University of Moratuwa.
Read more about Chanaka Fernando