Instana + Fylamynt: Incident Response with Instana Triggers and Fylamynt Workflows

Today’s SaaS applications are constantly changing and require real-time observability. Instana is an automated Application Performance Management (APM) solution designed specifically for the challenges of managing microservices and cloud-native applications. Once you have observability, you want to act on the insights. You want to trigger a specific workflow based on what you find. In this article, you will learn how to do this by Fylamynt’s triggers built for Instana.

Varun Krishna Yerra
January 26, 2021


Today’s SaaS applications are constantly changing and require real-time observability. Instana is an automated Application Performance Management (APM) solution designed specifically for the challenges of managing microservices and cloud-native applications. Once you have observability, you want to act on the insights. You want to trigger a specific workflow based on what you find. In this article, you will learn how to do this by Fylamynt’s triggers built for Instana.

 

Observability with Instana

Instana collects data from monitored systems using a single agent on each host. The agent runs on your hosts to collect and aggregate data from various sensors before sending it to the Instana backend.

Built-in and Custom events in Instana are health signatures based on integrated algorithms which help you to understand the health of your monitored system in real-time.

To view the built-in and custom events in Instana, from the sidebar, click Settings -> Events

 

No alt text provided for this image

  

An incident helps you to understand situations impacting your services and critical infrastructure by automatically learning their behavior and health, and then sending alerts when they become unhealthy.

To view the Incidents, from the sidebar, click Events -> Incidents.

No alt text provided for this image

Incident: AWS EC2 instance type "t2.medium" has exceeded memory threshold.

Remedy: Changing AWS EC2 instance type to "t2.large" allows you to increase the Memory and resolve this critical incident.

Role of Fylamynt in Instana incident management

Fylamynt automates any cloud workflow with any service using its connectors. Our Instana connector allows you to automate responses to Instana events. You can create a workflow to remediate the expected Custom event, Fylamynt workflow Instana-Alert-EC2-MemoryExceeds has Instana_Alert as the first node to trigger workflow on the alert received from Instana.

No alt text provided for this image

 Required Inputs for Instana_Alert connector are

  • Alert Type - trigger workflow when Instana alert state is "onOpen".
  • Entity Types - browse the different Entity Types Instana provides, select "host" to get the previously configured Custom events in Instana Events page.
  • Entity Names - select Entity for the Custom Event related to Memory exceeds threshold on AWS EC2 instance.

 Build Instana-Alert-EC2-MemoryExceeds workflow to resize AWS EC2 instance to "t2.large" type.

No alt text provided for this image

 Configure EC2 action Start_Instance_with_Attr with the target instance type "t2.large" and Save the Workflow. 

No alt text provided for this image

 Workflow Instana-Alert-EC2-MemoryExceeds is triggered when Instana alert with AWS EC2 - Memory exceeds threshold on target instance is received by Fylamynt. 

Human in the Loop

This article shows a workflow getting triggered based on Instana events. However, if you wish to have more control over when and what gets triggered, check out Fylamynt’s scheduling and approval features.

In summary, you can set up automated incident response with Fylamynt in a few simple and easy steps.