Think 2021: New tools have the developer ecosystem and IBM building together Learn more

Monitor the performance of your microservice app

Summary

In this code pattern, we will integrate Instana with a polyglot microservice travel application, the Bee Travels project, on Red Hat OpenShift. IBM Observability with Instana (Instana) provides infrastructure monitoring and application performance management (APM) and was designed specifically for the challenges of managing microservices-based applications and cloud-native applications. We will generate traffic to the application using Puppeteer, and then analyze that traffic on the Instana dashboard.

Description

Bee Travels is a polyglot demo microservices-based application that is created to demonstrate key capabilities of Kubernetes, OpenShift, Istio, Knative, and many other cloud-native technologies.

Bee Travels uses best practices in the software development lifecycle and wildly used open source technologies. This application encompasses the full developer life cycle experience and is also written in recommended coding languages.

Because the Bee Travels application is a microservices application, it has services that depend on one another and the application depends on various cloud-native technologies. This is where Instana comes into play.

Instana is a fully automated enterprise observability solution, which ingests observability metrics, traces every request, and profiles every process automatically. Instana breaks through the complexity of your application environment to show how everything fits together in context. This can help in visualizing how your application components work together, and also help you with debugging errors in your application.

Flow

Architecture diagram for integrating Instana into a microservices app

  1. The Puppeteer script generates traffic to the Bee Travels application running in the OpenShift cluster.
  2. The Instana code in each service of the Bee Travels application sends data about each respective service to the Instana Agent in the OpenShift cluster.
  3. The Instana Agent sends that data to your account on Instana where you can analyze and monitor the Bee Travels microservices through the Instana dashboard.

Instructions

To try out this code pattern, see the detailed technical steps in the README.md file in the GitHub repository.

  1. Install required prerequisites for completing the code pattern.
  2. Fork the repo.
  3. Integrate Instana into the Bee Travels application’s code.
  4. Deploy the application to OpenShift and create an instance of an Instana Agent.
  5. Generate traffic using Pupeteer and analyze the traffic with Instana.