Customize process group names

Not only does DESK automatically detect process groups, it also attempts to name them with intuitive names that make sense to the DevOps staff who are tasked with deploying and monitoring them. In many cases, however, the auto-generated names created by DESK may either be too generic or not reflect your naming standards. To change the naming schemes of detected process groups, you need process group naming rules.

Define a new process group naming rule

To add a new process group naming rule:

  1. Go to Settings > Process groups > Process group naming.
  2. Click the Add a new rule button.
  3. Type in a Rule name.
  4. Define the Process group name format including any static text string that describes the named process group. Optional placeholders are available to make it easy to dynamically include specific process-group properties in your automated process-group naming scheme. When you use one of the defined placeholders you can add a regex to extract a portion of the detected value. To extract, for example, something from {ProcessGroup:DetectedName} you could use {ProcessGroup:DetectedName/REGEX}. The regex simply extracts the complete match. It doesn’t allow to capture groups, only atomic and lookaround groups.
  5. Add one or more Conditions to the rule to match the process groups that you want to apply the naming scheme to. Conditions check for the existence of many different types of specific attribute and state values, from the check of a Docker image to a check of the CloudFoundry space that a process group runs in. The example condition below applies only to Java processes that are started via a JAR file that begins with com.desk.easytravel. Looking at the Process group name format below, you can see that it actually takes the JAR file and applies a regular expression to it.
  6. Use the Preview button to verify that the list of returned entities matching your new rule includes only the entities you want.

In contrast to process group detection, process group naming rules don’t require a restart of your processes and of course they don’t affect how processes are identified and grouped. These rules simply provide a fast and easy means of applying intuitive naming conventions to your processes.

Use custom metadata to enrich naming rules

You can further enrich DESK process monitoring by incorporating your own metadata into rule conditions. You can then use your custom metadata to better refine your process group naming rules. See highlighted example below.

With custom metadata incorporated into your process-group naming rules, you can enforce your own granular naming standards system-wide.