<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Process Group detection for OpenShift ScaledJobs created by Red Hat Custom Metrics Autoscaler in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Process-Group-detection-for-OpenShift-ScaledJobs-created-by-Red/m-p/304449#M40241</link>
    <description>&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;As you are currently using &lt;SPAN&gt;Cloud application and workload detection, but&lt;/SPAN&gt;&amp;nbsp;it controls how Dynatrace names and maps Kubernetes workloads, it determines what gets detected as a workload and how it's labeled. This is why ScaledJob instances get separate Process Groups by default each generated Job name is treated as a distinct workload.&lt;/P&gt;&lt;P&gt;Yes, I was referring to "&lt;SPAN&gt;Process grouping rules&lt;/SPAN&gt;". This is where you can define custom rules to override the default grouping logic and consolidate processes into one logical Process Group regardless of their Kubernetes workload name.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sujit&lt;/P&gt;</description>
    <pubDate>Wed, 16 Sep 2026 22:32:49 GMT</pubDate>
    <dc:creator>sujit_k_singh</dc:creator>
    <dc:date>2026-09-16T22:32:49Z</dc:date>
    <item>
      <title>Process Group detection for OpenShift ScaledJobs created by Red Hat Custom Metrics Autoscaler</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Process-Group-detection-for-OpenShift-ScaledJobs-created-by-Red/m-p/304381#M40234</link>
      <description>&lt;P class=""&gt;&lt;SPAN&gt;We are running Dynatrace Managed 1.344 on OpenShift and are currently looking for the best way to handle Process Group detection for pods created by the Red Hat Custom Metrics Autoscaler using &lt;/SPAN&gt;&lt;SPAN&gt;ScaledJob&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;H3&gt;&lt;SPAN&gt;Current behavior&lt;/SPAN&gt;&lt;/H3&gt;&lt;P class=""&gt;&lt;SPAN&gt;For a regular workload, the generated pod name is stable enough for Dynatrace workload detection, for example:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;example-application-&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P class=""&gt;&lt;SPAN&gt;The related containers/processes are grouped into the same Process Group as expected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;With a &lt;/SPAN&gt;&lt;SPAN&gt;ScaledJob&lt;/SPAN&gt;&lt;SPAN&gt;, however, the Custom Metrics Autoscaler creates separate Kubernetes Jobs with generated names such as:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;example-application-a1b2c
example-application-x7y8z
example-application-k9m3n&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P class=""&gt;&lt;SPAN&gt;Each Job creates its own pod. Dynatrace then creates a separate Process Group for each of these instances instead of grouping them under one logical application.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Our current setup:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;OpenShift&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Red Hat Custom Metrics Autoscaler / KEDA&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;ScaledJob&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Dynatrace Managed 1.344&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Cloud application and workload detection enabled&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;No additional Process Group detection rules&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;&lt;SPAN&gt;From our understanding, this is related to the Kubernetes workload / base pod name being different for every generated Job.&lt;/SPAN&gt;&lt;/P&gt;&lt;H3&gt;&lt;SPAN&gt;Question&lt;/SPAN&gt;&lt;/H3&gt;&lt;P class=""&gt;&lt;SPAN&gt;How are you handling Process Group detection for &lt;/SPAN&gt;&lt;SPAN&gt;ScaledJob&lt;/SPAN&gt;&lt;SPAN&gt; workloads?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Are you using:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;DT_RELEASE_PRODUCT&lt;/SPAN&gt;&lt;SPAN&gt; as a stable grouping identifier&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;custom Kubernetes workload detection rules&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;labels/annotations propagated to the generated Job/Pod&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;unified Process Grouping Rules&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;or another approach?&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Ideally, we would like all Jobs and Pods created by the same &lt;/SPAN&gt;&lt;SPAN&gt;ScaledJob&lt;/SPAN&gt;&lt;SPAN&gt; to be represented by one logical Process Group, while still keeping other Kubernetes workloads unaffected.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2026 07:35:17 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Process-Group-detection-for-OpenShift-ScaledJobs-created-by-Red/m-p/304381#M40234</guid>
      <dc:creator>Michael_M</dc:creator>
      <dc:date>2026-09-15T07:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Process Group detection for OpenShift ScaledJobs created by Red Hat Custom Metrics Autoscaler</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Process-Group-detection-for-OpenShift-ScaledJobs-created-by-Red/m-p/304415#M40237</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/21221"&gt;@Michael_M&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes — the recommended approach is to use DT_RELEASE_PRODUCT as a stable grouping identifier. Set it to a fixed value in your ScaledJob pod template so all Jobs and Pods share the same value regardless of their generated names. Then create a Process Group detection rule in Process group detection using DT_RELEASE_PRODUCT as the group identifier with the standalone rule option enabled. This overrides the default Kubernetes workload name-based grouping and consolidates all ScaledJob instances into one logical Process Group without affecting other workloads.&lt;/P&gt;&lt;P&gt;One important thing here is after creating or modifying Process Group detection rules, the changes apply to newly created pods only, existing running pods/jobs won't be regrouped until they are recreated. Since ScaledJobs are ephemeral by nature, this is less of a concern than with long-running deployments.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sujit&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2026 05:29:03 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Process-Group-detection-for-OpenShift-ScaledJobs-created-by-Red/m-p/304415#M40237</guid>
      <dc:creator>sujit_k_singh</dc:creator>
      <dc:date>2026-09-16T05:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Process Group detection for OpenShift ScaledJobs created by Red Hat Custom Metrics Autoscaler</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Process-Group-detection-for-OpenShift-ScaledJobs-created-by-Red/m-p/304428#M40239</link>
      <description>&lt;P&gt;Hi Sujit,&lt;/P&gt;&lt;P&gt;thanks for your reply.&lt;/P&gt;&lt;P&gt;For the Process Group detection rule I currently use the rules under "Cloud application and workload detection" in Managed. Did you mean with "Process Group detection rule" the "Process grouping rules"?&lt;BR /&gt;Regards&lt;BR /&gt;Michael&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2026 12:50:28 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Process-Group-detection-for-OpenShift-ScaledJobs-created-by-Red/m-p/304428#M40239</guid>
      <dc:creator>Michael_M</dc:creator>
      <dc:date>2026-09-16T12:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Process Group detection for OpenShift ScaledJobs created by Red Hat Custom Metrics Autoscaler</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Process-Group-detection-for-OpenShift-ScaledJobs-created-by-Red/m-p/304449#M40241</link>
      <description>&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;As you are currently using &lt;SPAN&gt;Cloud application and workload detection, but&lt;/SPAN&gt;&amp;nbsp;it controls how Dynatrace names and maps Kubernetes workloads, it determines what gets detected as a workload and how it's labeled. This is why ScaledJob instances get separate Process Groups by default each generated Job name is treated as a distinct workload.&lt;/P&gt;&lt;P&gt;Yes, I was referring to "&lt;SPAN&gt;Process grouping rules&lt;/SPAN&gt;". This is where you can define custom rules to override the default grouping logic and consolidate processes into one logical Process Group regardless of their Kubernetes workload name.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sujit&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2026 22:32:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Process-Group-detection-for-OpenShift-ScaledJobs-created-by-Red/m-p/304449#M40241</guid>
      <dc:creator>sujit_k_singh</dc:creator>
      <dc:date>2026-09-16T22:32:49Z</dc:date>
    </item>
  </channel>
</rss>

