Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Anchor
top74
top74


Tip

Learn to Add/Edit custom messages in this section.

You could Add/Edit InSights Inference - KPI messages, which would be displayed across your DevOps vectors on the InSights UI. Please browse the below topics - 

Panel

On this page:


Table of Contents

Browse the InSights Inference - KPI Message directory


Info

%WORKSPACE%  is the directory which contains InSights - Development Platform.

  • Change your directory to "%WORKSPACE%\Insights\PlatformService\src\main\resources\messages".
  • Create a new property file and name it as "msg_en_US.properties". Also, use default/existing InSights Inference Messages in that folder( if your requirement matches our default KPI)

Add/Edit new message


For instance, let's consider a sample KPI message as shown below:

Panel

deployment.141.positive.daily = Total Failed Deployments has decreased to {0} from {1}
deployment.141.negative.daily = Total Failed Deployments has increased to {0} from {1}
deployment.141.neutral.daily = Total Failed Deployments has remain same to {0}
deployment.141.positive.daily.currentZeroResult = There were no Failed Deployments captured in last run
deployment.141.negative.daily.previousZeroResult = There were Failed Deployments captured in last run, and the count is {0}

It is represented in the format: vector.kpiID.emotion.schedule = Message

Info
titleRepresentation:
  • deployment represents the name of vector.
  • 141 represents the KPI ID of the InSights Inference - KPI.
  • positivenegative, and neutral represents the emotion of the KPI message. It is based on the trend of InSights Inference - KPI. Eg. UPWARDS/DOWNWARDS
  • daily represents the schedule of the KPI Job.
  • {0} represents latest result, and {1} represents older result.
  • currentZeroResult  represents that the most recent KPI execution has captured no result (it is only used in the case when there is no result captured for the respective KPI).
  • previousZeroResult represents that the most recent KPI execution has captured result, but there was no result captured in the previous execution (it is only used in the case when previous result was nill).


Info

The vector and kpiID must match the "vector" and "kpiID" specified in your InSights Inference - KPI Jobs. To know more about InSights Inference - KPI, click here.