AIOps

 View Only

Instana and WAIOps Integration : 4 - Create Custom Payload in Instana

By Jeya Gandhi Rajan M posted Wed September 08, 2021 02:34 PM

  

This article explains about how to create Custom Payload in Instana.

Objective

The Objective is to create Custom Payload. By doing this whenever there is an alert send from the Instana to any alert Channels, the data could contain what is mentioned in the Custom Payload as well.

This helps the Instana to send additional info along with the alert data to the alert channels.

The custom payload would look like this. Look at the section customPayloads

{
    "details": {
    "containerNames": [],
    "customPayloads": {
      "custom:NodeAlias": [
        "ilender-creditscore-66d5886bd9-vl2xk"
      ]
    }
  },
  "deduplicationKey": "someId",
  
  "sender": {
    "name": "Instana",
    "displayName": "Instana Server",
    "sourceId": "someId",
    "type": "Instana"
  },
  "resource": {
    "sourceId": "someId",
    "type": "JVM",
    "displayName": "test",
    "hostname": "test.fqdn",
    "name": "test"
  },  
  "severity": "Warning",
  "summary": "Garbage Collection Activity High (11%)",

  "type": {
    "eventType": "JVM"
  }
}

Steps

  1. Choose the menu Custom Payload under the configuration section.

  2. Click on Add Row button.

  1. Enter the Node Alias in the field Custom.

  2. Choose Dynamic in the field value type.

  3. Choose Kubernetes Pod Name in the field value.

  4. Click on Save button.

Now all the alerts send from this Instana would have Kubernetes Pod Name inside the alert data.

    "customPayloads": {
      "custom:NodeAlias": [
        "ilender-creditscore-66d5886bd9-vl2xk"
      ]
    }

Next Step

Custom Payload is created here.

You can configure Events, Alerts and etc to complete Instana with Watson AIOps Integration.

Prev : Create Application in Instana

Next : Create Events in Instana

Home : Integrating Instana with Watson AIOps



Released by :

  • Jeya Gandhi Rajan M
  • Vijaya Bhaskar R Siddareddi
  • Vijay Sukthankar (Squad Leader)

Hybrid-Cloud Squad, GSI Labs


#ibmautomation


#CloudPakforWatsonAIOps
#Instana
#APM
#setup
#HowTo
0 comments
19 views

Permalink