<?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: The Power of Segments vs. the Power of Management Zones in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/The-Power-of-Segments-vs-the-Power-of-Management-Zones/m-p/290249#M38063</link>
    <description>&lt;P&gt;Oh, and the in() operator in the filter input field is broken. You can use it in preview, works fine but when you save the Segment:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="r_weber_0-1764079411081.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31001i2761463EDEF60040/image-size/medium?v=v2&amp;amp;px=400" role="button" title="r_weber_0-1764079411081.png" alt="r_weber_0-1764079411081.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm pretty sure it's not a bug, I'm just doing it wrong &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Nov 2025 14:04:29 GMT</pubDate>
    <dc:creator>r_weber</dc:creator>
    <dc:date>2025-11-25T14:04:29Z</dc:date>
    <item>
      <title>The Power of Segments vs. the Power of Management Zones</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/The-Power-of-Segments-vs-the-Power-of-Management-Zones/m-p/290214#M38061</link>
      <description>&lt;P&gt;I have been looking a bit deeper into segments recently and tried to cover some of the usecases I previously did with management zones. I've used entity selectors and relationships quite extensively to create MZ rules and add all differnet kind of entities to MZs. The entityselector proved quite powerful for that purpose.&lt;BR /&gt;&lt;BR /&gt;While segments have the power to also work on data not only entities, they do lack the flexibility for entities, making them actually less useful for me.&lt;/P&gt;&lt;P&gt;Think about this MZ inclusion rule, based on ownership labels on a K8s Pod belonging to a Workload:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;type(service),fromRelationships.isServiceOf(type(cloud_application),cloudApplicationLabels(dt.owner:my-team))&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;This will add a service entity that is detected within a K8s workload where the user has "just" provided an ownership label to the MZ (that the owner has access to).&lt;BR /&gt;I can even take this further and add individual container group instances, by simply knowing the ownership tag from a process group:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;type(container_group_instance),fromRelationships.isInstanceOf(type(container_group), toRelationships.isPgOfCg(type(process_group),tag(dt.owner:my-team)))&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;With Segments I haven't found a way to do this. The "Data" filter syntax is extremely limited, I can do a equals or a in, but not filter for attributes/labels.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="r_weber_0-1764062325985.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/30996iFE3499CF601CAC03/image-size/medium?v=v2&amp;amp;px=400" role="button" title="r_weber_0-1764062325985.png" alt="r_weber_0-1764062325985.png" /&gt;&lt;/span&gt;&lt;BR /&gt;I could create a list of variables that maybe mimics the entityselector and returns all the relationship entities that I'm interested in, but do I really want any user to then select all these variables whenever they use the segment in their UI?&lt;BR /&gt;I've seen the very basic usecase of using a hostgroup and some basic tags (no key:value) tags to add classic entities to a segment, but advanced usecases seem to be very difficult to handle because of the limited filter capabilities.&lt;BR /&gt;IMO the filter should allow the entityselector (or smartscape relationship selection)&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 09:25:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/The-Power-of-Segments-vs-the-Power-of-Management-Zones/m-p/290214#M38061</guid>
      <dc:creator>r_weber</dc:creator>
      <dc:date>2025-11-25T09:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: The Power of Segments vs. the Power of Management Zones</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/The-Power-of-Segments-vs-the-Power-of-Management-Zones/m-p/290249#M38063</link>
      <description>&lt;P&gt;Oh, and the in() operator in the filter input field is broken. You can use it in preview, works fine but when you save the Segment:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="r_weber_0-1764079411081.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31001i2761463EDEF60040/image-size/medium?v=v2&amp;amp;px=400" role="button" title="r_weber_0-1764079411081.png" alt="r_weber_0-1764079411081.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm pretty sure it's not a bug, I'm just doing it wrong &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 14:04:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/The-Power-of-Segments-vs-the-Power-of-Management-Zones/m-p/290249#M38063</guid>
      <dc:creator>r_weber</dc:creator>
      <dc:date>2025-11-25T14:04:29Z</dc:date>
    </item>
  </channel>
</rss>

