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.140.positive.daily = Average Successful Deployments has increased to {0} from {1}
deployment.140.negative.daily = Average Successful Deployments has decreased to {0} from {1}
deployment.140.neutral.daily = Average Successful Deployments has remain same to {0}

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

Info
titleRepresentation:
  • deployment represents the name of vector.
  • 140 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} represent older result.


Image Added


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.