Customize process group names | Dynatrace helphttps://www.dynatrace.com/support/help/
Fri, 22 Feb 2019 10:04:41 +0100Mon, 18 Feb 2019 08:24:20 +0100Metalsmith v2.3.0Customize process group names updated on Mon, 18 Feb 2019 08:24:20 +0100<p>Not only does Dynatrace automatically detect <a href="https://www.dynatrace.com/support/help/how-to-use-dynatrace/process-groups/">process groups</a>, 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 Dynatrace 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.</p>
<h2 id="define-a-new-process-group-naming-rule">Define a new process group naming rule
<span class="shortlink-copy shortlink-copy-js" data-clipboard-text="https://www.dynatrace.com/support/help/shortlink/process-group-naming#define-a-new-process-group-naming-rule">
</span></h2>
<p>To add a new process group naming rule:</p>
<ol>
<li>Go to <strong>Settings</strong> &gt; <strong>Process groups</strong> &gt; <strong>Process group naming</strong>.</li>
<li>Click the <strong>Add new rule</strong> button.</li>
<li>Type in a <strong>Rule name</strong>.</li>
<li>Define the <strong>Process group name format</strong> 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 <a href="https://www.dynatrace.com/support/help/how-to-use-dynatrace/tags-and-metadata/reference/regular-expressions-in-dynatrace/">regex</a> to extract a portion of the detected value. To extract, for example, something from <code>{ProcessGroup:DetectedName}</code> you could use <code>{ProcessGroup:DetectedName/REGEX}</code>. The regex simply extracts the complete match. It doesn&#x2019;t allow to capture groups, only atomic and lookaround groups.</li>
<li>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 <code>com.dynatrace.easytravel</code>. Looking at the <strong>Process group name format</strong> below, you can see that it actually takes the JAR file and applies a regular expression to it.<br>
<img src="https://dt-cdn.net/images/pg-naming-rules1-1531-db88a8a9d8.png" alt=""></li>
<li>Use the <strong>Preview</strong> button to verify that the list of returned entities matching your new rule includes only the entities you want.<br>
<img src="https://dt-cdn.net/images/pg-naming-rules2-1133-0080ee5066.png" alt=""></li>
</ol>
<p>In contrast to process group detection, process group naming rules don&#x2019;t require a restart of your processes and of course they don&#x2019;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.</p>
<h2 id="use-custom-metadata-to-enrich-naming-rules">Use custom metadata to enrich naming rules
<span class="shortlink-copy shortlink-copy-js" data-clipboard-text="https://www.dynatrace.com/support/help/shortlink/process-group-naming#use-custom-metadata-to-enrich-naming-rules">
</span></h2>
<p>You can further enrich Dynatrace process monitoring by <a href="https://www.dynatrace.com/support/help/how-to-use-dynatrace/process-groups/configuration/define-your-own-process-group-metadata/">incorporating your own metadata into rule conditions</a>. You can then use your custom metadata to better refine your process group naming rules. See highlighted example below.</p>
<p><img src="https://dt-cdn.net/images/pg-naming-rules3-1512-8a46a3664b.png" alt=""></p>
<p><img src="https://dt-cdn.net/images/pg-naming-rules4-1527-667ccd721b.png" alt=""></p>
<p><img src="https://dt-cdn.net/images/pg-naming-rules5-1405-111b77a025.png" alt=""></p>
<p>With custom metadata incorporated into your process-group naming rules, you can enforce your own granular naming standards system-wide.</p>
Mon, 18 Feb 2019 08:24:20 +0100https://www.dynatrace.com/support/help/how-to-use-dynatrace/process-groups/configuration/customize-the-name-of-process-groups/?updated=mon-18-feb-2019-08-24-20-0100
https://www.dynatrace.com/support/help/how-to-use-dynatrace/process-groups/configuration/customize-the-name-of-process-groups/