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 Insights Inference - KPI messages, which would be displayed across your DevOps vectors on the InSights Insights UI. Please browse the below topics - 

Panel

On this page:


Table of Contents

Browse the

InSights

Insights Inference - KPI Message directory


Info

%WORKSPACE%  is the directory which contains InSights 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. MUST match with vector in Insights Inference - KPI Job Configuration
  • 141 represents the KPI ID of the InSights Insights Inference - KPI. MUST match with KPI ID in Insights Inference - KPI Job Configuration
  • positivenegative, and neutral represents the emotion of the KPI message. It is based on the trend of InSights Insights Inference - KPI. Eg. UPWARDS/DOWNWARDS
  • daily represents the schedule of the KPI Job.  MUST match with schedule field value in Insights Inference - KPI Job Configuration
  • {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

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