<?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: Extensions 2.0 Add card too OOTB host Screen in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/Extensions-2-0-add-card-to-OOTB-host-screen/m-p/205955#M2839</link>
    <description>&lt;P&gt;The minimum dynatrace version is always in the top of the YAML. You can try to download an older version from the hub tile which fits with your cluster. The injection has been part of the f5 extension for some time.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Mar 2023 10:20:53 GMT</pubDate>
    <dc:creator>Mike_L</dc:creator>
    <dc:date>2023-03-01T10:20:53Z</dc:date>
    <item>
      <title>Extensions 2.0 - add card to OOTB host screen</title>
      <link>https://community.dynatrace.com/t5/Extensions/Extensions-2-0-add-card-to-OOTB-host-screen/m-p/205931#M2832</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Is it possible to add a graph card to the&amp;nbsp;OOTB host Screen?&lt;BR /&gt;I have an extension that gets some additional metrics for some hosts, I want to add a chart to the OOTB host monitoring view.&lt;/P&gt;
&lt;P&gt;How do I achieve this?&lt;BR /&gt;The "&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;entityType:&lt;/SPAN&gt; &lt;SPAN class=""&gt;host" does not exist.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Extension:&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;name:&lt;/SPAN&gt; &lt;SPAN class=""&gt;custom:dt.extension.prometheus-nc-alertmanager&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;version:&lt;/SPAN&gt; &lt;SPAN class=""&gt;0.0&lt;/SPAN&gt;&lt;SPAN class=""&gt;.8&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;minDynatraceVersion:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"1.225"&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;author:&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;  &lt;SPAN class=""&gt;name:&lt;/SPAN&gt; &lt;SPAN class=""&gt;Telenet&lt;/SPAN&gt; &lt;SPAN class=""&gt;BVBA&lt;/SPAN&gt;&lt;/SPAN&gt;

&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;#dashboards:&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;#  - path: "dashboards/checkmk_network_devices.json"&lt;/SPAN&gt;&lt;/SPAN&gt;

&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;metrics:&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;  &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;key:&lt;/SPAN&gt; &lt;SPAN class=""&gt;com.dynatrace.extension.prometheus-nc-alertmanager.alert_state&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    &lt;SPAN class=""&gt;metadata:&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;      &lt;SPAN class=""&gt;displayName:&lt;/SPAN&gt; &lt;SPAN class=""&gt;tn_nc_alertmanager_alert_state&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;      &lt;SPAN class=""&gt;description:&lt;/SPAN&gt; &lt;SPAN class=""&gt;tn_nc_alertmanager_alert_state&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;      &lt;SPAN class=""&gt;unit:&lt;/SPAN&gt; &lt;SPAN class=""&gt;Count&lt;/SPAN&gt;&lt;/SPAN&gt;

&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;prometheus:&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;  &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;group:&lt;/SPAN&gt; &lt;SPAN class=""&gt;nc_alertmanager&lt;/SPAN&gt; &lt;SPAN class=""&gt;metrics&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    &lt;SPAN class=""&gt;interval:&lt;/SPAN&gt; &lt;SPAN class=""&gt;2m&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    &lt;SPAN class=""&gt;featureSet:&lt;/SPAN&gt; &lt;SPAN class=""&gt;all&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    &lt;SPAN class=""&gt;subgroups:&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;      &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;subgroup:&lt;/SPAN&gt; &lt;SPAN class=""&gt;nc_alertmanager_alert_state&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;        &lt;SPAN class=""&gt;dimensions:&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;          &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;key:&lt;/SPAN&gt; &lt;SPAN class=""&gt;host&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;            &lt;SPAN class=""&gt;value:&lt;/SPAN&gt; &lt;SPAN class=""&gt;label:host&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;          &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;key:&lt;/SPAN&gt; &lt;SPAN class=""&gt;event&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;            &lt;SPAN class=""&gt;value:&lt;/SPAN&gt; &lt;SPAN class=""&gt;label:event&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;          &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;key:&lt;/SPAN&gt; &lt;SPAN class=""&gt;env&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;            &lt;SPAN class=""&gt;value:&lt;/SPAN&gt; &lt;SPAN class=""&gt;label:env&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;          &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;key:&lt;/SPAN&gt; &lt;SPAN class=""&gt;severity&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;            &lt;SPAN class=""&gt;value:&lt;/SPAN&gt; &lt;SPAN class=""&gt;label:severity&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;          &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;key:&lt;/SPAN&gt; &lt;SPAN class=""&gt;impact&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;            &lt;SPAN class=""&gt;value:&lt;/SPAN&gt; &lt;SPAN class=""&gt;label:impact&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;          &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;key:&lt;/SPAN&gt; &lt;SPAN class=""&gt;description&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;            &lt;SPAN class=""&gt;value:&lt;/SPAN&gt; &lt;SPAN class=""&gt;label:description&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;          &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;key:&lt;/SPAN&gt; &lt;SPAN class=""&gt;support_team&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;            &lt;SPAN class=""&gt;value:&lt;/SPAN&gt; &lt;SPAN class=""&gt;label:support&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;        &lt;SPAN class=""&gt;metrics:&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;          &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;key:&lt;/SPAN&gt; &lt;SPAN class=""&gt;com.dynatrace.extension.prometheus-nc-alertmanager.alert_state&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;            &lt;SPAN class=""&gt;value:&lt;/SPAN&gt; &lt;SPAN class=""&gt;metric:NC_Alertmanager&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;            &lt;SPAN class=""&gt;type:&lt;/SPAN&gt; &lt;SPAN class=""&gt;gauge&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;            &lt;SPAN class=""&gt;featureSet:&lt;/SPAN&gt; &lt;SPAN class=""&gt;global&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;topology:&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;  &lt;SPAN class=""&gt;types:&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;name:&lt;/SPAN&gt; &lt;SPAN class=""&gt;custom:dt_extension_prometheus_nc_alertmanager_host&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;      &lt;SPAN class=""&gt;displayName:&lt;/SPAN&gt; &lt;SPAN class=""&gt;nc_alertmanager&lt;/SPAN&gt; &lt;SPAN class=""&gt;Host&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;      &lt;SPAN class=""&gt;enabled:&lt;/SPAN&gt; &lt;SPAN class=""&gt;true&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;      &lt;SPAN class=""&gt;rules:&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;      &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;idPattern:&lt;/SPAN&gt; &lt;SPAN class=""&gt;nc_alertmanager_{host}&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;        &lt;SPAN class=""&gt;sources:&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;        &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;sourceType:&lt;/SPAN&gt; &lt;SPAN class=""&gt;Metrics&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;          &lt;SPAN class=""&gt;condition:&lt;/SPAN&gt; &lt;SPAN class=""&gt;$prefix(com.dynatrace.extension.prometheus-nc-alertmanager.alert_state)&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;        &lt;SPAN class=""&gt;attributes:&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;        &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;pattern:&lt;/SPAN&gt; &lt;SPAN class=""&gt;'{host}'&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;          &lt;SPAN class=""&gt;key:&lt;/SPAN&gt; &lt;SPAN class=""&gt;nc_alertmanager_host&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;          &lt;SPAN class=""&gt;displayName:&lt;/SPAN&gt; &lt;SPAN class=""&gt;nc_alertmanager_host&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;        &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;pattern:&lt;/SPAN&gt; &lt;SPAN class=""&gt;'{support_team}'&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;          &lt;SPAN class=""&gt;key:&lt;/SPAN&gt; &lt;SPAN class=""&gt;support_team&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;          &lt;SPAN class=""&gt;displayName:&lt;/SPAN&gt; &lt;SPAN class=""&gt;support_team&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;        &lt;SPAN class=""&gt;requiredDimensions:&lt;/SPAN&gt; &lt;SPAN class=""&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;]&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;        &lt;SPAN class=""&gt;instanceNamePattern:&lt;/SPAN&gt; &lt;SPAN class=""&gt;'{host}'&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;  &lt;SPAN class=""&gt;relationships:&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;sources:&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;        &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;sourceType:&lt;/SPAN&gt; &lt;SPAN class=""&gt;Metrics&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;          &lt;SPAN class=""&gt;condition:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"$prefix(com.dynatrace.extension.prometheus-nc-alertmanager.alert_state)"&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;      &lt;SPAN class=""&gt;fromType:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"custom:dt_extension_prometheus_nc_alertmanager_host"&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;      &lt;SPAN class=""&gt;toType:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"host"&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;      &lt;SPAN class=""&gt;typeOfRelation:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"PART_OF"&lt;/SPAN&gt;&lt;/SPAN&gt;

&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;screens:&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;  &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;entityType:&lt;/SPAN&gt; &lt;SPAN class=""&gt;host&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    &lt;SPAN class=""&gt;chartsCards:&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;      &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;key:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"host-ncalertmanager-alerts"&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;        &lt;SPAN class=""&gt;displayName:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"Generic Host Metrics"&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;        &lt;SPAN class=""&gt;numberOfVisibleCharts:&lt;/SPAN&gt; &lt;SPAN class=""&gt;1&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;        &lt;SPAN class=""&gt;charts:&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;          &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;displayName:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"NC Alertmanager alerts"&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;            &lt;SPAN class=""&gt;visualization:&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;              &lt;SPAN class=""&gt;themeColor:&lt;/SPAN&gt; &lt;SPAN class=""&gt;BLUE&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;              &lt;SPAN class=""&gt;seriesType:&lt;/SPAN&gt; &lt;SPAN class=""&gt;AREA&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;            &lt;SPAN class=""&gt;metrics:&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;              &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;metricSelector:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"com.dynatrace.extension.prometheus-nc-alertmanager.alert_state:SplitBy(description)"&lt;/SPAN&gt;&lt;/SPAN&gt;

&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 13:15:32 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Extensions-2-0-add-card-to-OOTB-host-screen/m-p/205931#M2832</guid>
      <dc:creator>debeste</dc:creator>
      <dc:date>2023-05-17T13:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Extensions 2.0 Add card too OOTB host Screen</title>
      <link>https://community.dynatrace.com/t5/Extensions/Extensions-2-0-add-card-to-OOTB-host-screen/m-p/205934#M2833</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Yes, it is possible. To see how it is done you can have a look at one of the existing extensions which do it such as the f5 or the Elasticsearch one.&amp;nbsp;&lt;BR /&gt;You can download any extension framework 2.0 extension from the versions tab of the public hub, such as this one:&amp;nbsp;&lt;A href="https://www.dynatrace.com/hub/detail/f5-big-ip-ltm-1/" target="_self"&gt;https://www.dynatrace.com/hub/detail/f5-big-ip-ltm-1/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 08:17:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Extensions-2-0-add-card-to-OOTB-host-screen/m-p/205934#M2833</guid>
      <dc:creator>Mike_L</dc:creator>
      <dc:date>2023-03-01T08:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: Extensions 2.0 Add card too OOTB host Screen</title>
      <link>https://community.dynatrace.com/t5/Extensions/Extensions-2-0-add-card-to-OOTB-host-screen/m-p/205945#M2836</link>
      <description>&lt;P&gt;If I follow the example from F5 I get errors:&lt;/P&gt;&lt;P&gt;Extension validation error\",\"constraintViolations\":[{\"path\":\"$.screens[0].chartsCards[0].charts[0]\",\"message\":\"$.screens[0].chartsCards[0].charts[0].graphChartConfig: is not defined in the schema and the schema does not allow additional properties&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Seems like our cluster still follows the old schema, like in the documentation.&lt;BR /&gt;Frow which DT cluster version is the new schema (as used in F5) supported for custom extensions?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 09:47:01 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Extensions-2-0-add-card-to-OOTB-host-screen/m-p/205945#M2836</guid>
      <dc:creator>debeste</dc:creator>
      <dc:date>2023-03-01T09:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Extensions 2.0 Add card too OOTB host Screen</title>
      <link>https://community.dynatrace.com/t5/Extensions/Extensions-2-0-add-card-to-OOTB-host-screen/m-p/205955#M2839</link>
      <description>&lt;P&gt;The minimum dynatrace version is always in the top of the YAML. You can try to download an older version from the hub tile which fits with your cluster. The injection has been part of the f5 extension for some time.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 10:20:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Extensions-2-0-add-card-to-OOTB-host-screen/m-p/205955#M2839</guid>
      <dc:creator>Mike_L</dc:creator>
      <dc:date>2023-03-01T10:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Extensions 2.0 Add card too OOTB host Screen</title>
      <link>https://community.dynatrace.com/t5/Extensions/Extensions-2-0-add-card-to-OOTB-host-screen/m-p/205959#M2841</link>
      <description>&lt;P&gt;Then there is an issue with the Schema validation, when uploading a custom extension.&lt;/P&gt;&lt;P&gt;Will log a case.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 10:47:03 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Extensions-2-0-add-card-to-OOTB-host-screen/m-p/205959#M2841</guid>
      <dc:creator>debeste</dc:creator>
      <dc:date>2023-03-01T10:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Extensions 2.0 - Add card to OOTB host Screen</title>
      <link>https://community.dynatrace.com/t5/Extensions/Extensions-2-0-add-card-to-OOTB-host-screen/m-p/207943#M2911</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/11520"&gt;@Mike_L&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im still struggling getting it working.&lt;BR /&gt;The latest schemas work, but its hard to debug.&lt;/P&gt;&lt;P&gt;UseCase: I want metric "&lt;SPAN&gt;com.dynatrace.extension.prometheus-nc-alertmanager.alert_state" to be available on the host screen.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As I understand from the F5 extension, the way to do this, is to relate the custom created entity to the Onagent host entity in the Topology section. Then in the Screen section call this relationship "&lt;/SPAN&gt;&lt;SPAN&gt;isSameAs".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In the F5 example mapping is only done on&amp;nbsp;ip_addresses, can this also be done on&amp;nbsp;dt.entity.host?&lt;BR /&gt;As in my use case I only have attribute&amp;nbsp;&lt;SPAN&gt;nc_alertmanager_host=&lt;/SPAN&gt;&lt;SPAN&gt;dt.entity.host&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;An example of a extension, linking a metric to&amp;nbsp;&lt;SPAN&gt;dt.entity.host and showing this in the host screen would be helpfull.&lt;BR /&gt;The provided examples are great, but hard to reverse engineer.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;name: custom:dt.extension.prometheus-nc-alertmanager
version: 0.0.15
minDynatraceVersion: "1.259"
author:
  name: xxx

#dashboards:
#  - path: "dashboards/checkmk_network_devices.json"

metrics:
  - key: com.dynatrace.extension.prometheus-nc-alertmanager.alert_state
    metadata:
      displayName: tn_nc_alertmanager_alert_state
      description: tn_nc_alertmanager_alert_state
      unit: Count

prometheus:
  - group: nc_alertmanager metrics
    interval:
      minutes: 2
    featureSet: all
    subgroups:
      - subgroup: nc_alertmanager_alert_state
        dimensions:
          - key: host
            value: label:host
          - key: event
            value: label:event
          - key: env
            value: label:env
          - key: severity
            value: label:severity
          - key: impact
            value: label:impact
          - key: description
            value: label:description
          - key: support_team
            value: label:support
        metrics:
          - key: com.dynatrace.extension.prometheus-nc-alertmanager.alert_state
            value: metric:NC_Alertmanager
            type: gauge
            featureSet: global
topology:
  types:
    - name: custom:dt_extension_prometheus_nc_alertmanager_host
      displayName: nc_alertmanager Host
      enabled: true
      rules:
      - idPattern: nc_alertmanager_{host}
        sources:
        - sourceType: Metrics
          condition: $prefix(com.dynatrace.extension.prometheus-nc-alertmanager.alert_state)
        attributes:
        - pattern: '{host}'
          key: nc_alertmanager_host
          displayName: nc_alertmanager_host
        - pattern: '{support_team}'
          key: support_team
          displayName: support_team
        requiredDimensions: []
        instanceNamePattern: '{host}'
  relationships:
    - sources:
        - sourceType: Metrics
          condition: $prefix(com.dynatrace.extension.prometheus-nc-alertmanager.alert_state)
      fromType: "custom:dt_extension_prometheus_nc_alertmanager_host"
      toType: host
      typeOfRelation: SAME_AS
    - sources:
        - sourceType: Entities
          mappingRules:
            - sourceProperty: nc_alertmanager_host
              sourceTransformation: To lower case
              destinationProperty: dt.entity.host
              destinationTransformation: To lower case
      fromType: custom:dt_extension_prometheus_nc_alertmanager_host
      typeOfRelation: SAME_AS
      toType: host

screens:
  - entityType: HOST
    detailsInjections:
      - type: CHART_GROUP
        key: host-ncalertmanager-alerts
        conditions:
          - relatedEntity|entitySelectorTemplate=type(custom:dt_extension_prometheus_nc_alertmanager_host),fromRelationships.isSameAs($(entityConditions))
    chartsCards:
      - key: "host-ncalertmanager-alerts"
        displayName: "NC Alertmanager Alerts"
        numberOfVisibleCharts: 1
        charts:
          - displayName: "NC Alertmanager alerts"
            visualizationType: GRAPH_CHART
            graphChartConfig:
              stacked: false
              metrics:
                - metricSelector: "com.dynatrace.extension.prometheus-nc-alertmanager.alert_state:SplitBy(description)"
                  visualization:
                    displayName: Status&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Graph_chart is added to the host screen, the metric is just not related.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="debeste_0-1679654928195.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/10669iEE9CCCDBD460BBA9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="debeste_0-1679654928195.png" alt="debeste_0-1679654928195.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 10:52:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Extensions-2-0-add-card-to-OOTB-host-screen/m-p/207943#M2911</guid>
      <dc:creator>debeste</dc:creator>
      <dc:date>2023-03-24T10:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: Extensions 2.0 - Add card to OOTB host Screen</title>
      <link>https://community.dynatrace.com/t5/Extensions/Extensions-2-0-add-card-to-OOTB-host-screen/m-p/207947#M2912</link>
      <description>&lt;P&gt;If the metric line has dt.entity.host=HOST-ABCD1234... then you don't need to do any same-as relationships. You can simply add the metric selector to get to the metric into the injected card. You can try the metric selector in the data explorer.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 11:44:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Extensions-2-0-add-card-to-OOTB-host-screen/m-p/207947#M2912</guid>
      <dc:creator>Mike_L</dc:creator>
      <dc:date>2023-03-24T11:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Extensions 2.0 - Add card to OOTB host Screen</title>
      <link>https://community.dynatrace.com/t5/Extensions/Extensions-2-0-add-card-to-OOTB-host-screen/m-p/207953#M2913</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/11520"&gt;@Mike_L&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No the metric does not have the dt.entity.host key, which makes me realize that the relationship should be something like:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;    &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;sources:&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;        &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;sourceType:&lt;/SPAN&gt; &lt;SPAN class=""&gt;Entities&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;          &lt;SPAN class=""&gt;mappingRules:&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;            &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;sourceProperty:&lt;/SPAN&gt; &lt;SPAN class=""&gt;nc_alertmanager_host&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;              &lt;SPAN class=""&gt;sourceTransformation:&lt;/SPAN&gt; &lt;SPAN class=""&gt;To&lt;/SPAN&gt; &lt;SPAN class=""&gt;lower&lt;/SPAN&gt; &lt;SPAN class=""&gt;case&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;              &lt;SPAN class=""&gt;destinationProperty:&lt;/SPAN&gt; &lt;SPAN class=""&gt;displayName&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;              &lt;SPAN class=""&gt;destinationTransformation:&lt;/SPAN&gt; &lt;SPAN class=""&gt;To&lt;/SPAN&gt; &lt;SPAN class=""&gt;lower&lt;/SPAN&gt; &lt;SPAN class=""&gt;case&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;      &lt;SPAN class=""&gt;fromType:&lt;/SPAN&gt; &lt;SPAN class=""&gt;custom:dt_extension_prometheus_nc_alertmanager_host&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;      &lt;SPAN class=""&gt;typeOfRelation:&lt;/SPAN&gt; &lt;SPAN class=""&gt;SAME_AS&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;      &lt;SPAN class=""&gt;toType:&lt;/SPAN&gt; &lt;SPAN class=""&gt;host&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;P&gt;So the link is on hostname not host ID.&lt;/P&gt;&lt;P&gt;I pushed these changes, but same results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 12:23:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Extensions-2-0-add-card-to-OOTB-host-screen/m-p/207953#M2913</guid>
      <dc:creator>debeste</dc:creator>
      <dc:date>2023-03-24T12:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Extensions 2.0 - Add card to OOTB host Screen</title>
      <link>https://community.dynatrace.com/t5/Extensions/Extensions-2-0-add-card-to-OOTB-host-screen/m-p/207954#M2914</link>
      <description>&lt;P&gt;I think this might need a zoom call with someone on the extensions team to go through it step by step to see where it breaks. You can get redirected to that team via the in-product chat.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 12:25:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Extensions-2-0-add-card-to-OOTB-host-screen/m-p/207954#M2914</guid>
      <dc:creator>Mike_L</dc:creator>
      <dc:date>2023-03-24T12:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Extensions 2.0 - Add card to OOTB host Screen</title>
      <link>https://community.dynatrace.com/t5/Extensions/Extensions-2-0-add-card-to-OOTB-host-screen/m-p/208758#M2925</link>
      <description>&lt;P&gt;I fixed it like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;topology:
  types:
    - name: custom:dt_extension_prometheus_nc_alertmanager_host
      displayName: nc_alertmanager Host
      enabled: true
      rules:
      - idPattern: nc_alertmanager_{host}
        sources:
        - sourceType: Metrics
          condition: $prefix(com.dynatrace.extension.prometheus-nc-alertmanager.alert_state)
        attributes:
        - pattern: "{host}"
          key: nc_alertmanager_host
          displayName: nc_alertmanager_host
        - pattern: "{support_team}"
          key: support_team
          displayName: support_team
        requiredDimensions: []
        instanceNamePattern: "{host}"
  relationships:
    - sources:
        - sourceType: Entities
          mappingRules:
            - sourceProperty: nc_alertmanager_host
              sourceTransformation: To lower case
              destinationProperty: displayName
              destinationTransformation: To lower case
      fromType: custom:dt_extension_prometheus_nc_alertmanager_host
      typeOfRelation: SAME_AS
      toType: host

screens:
  - entityType: HOST
    detailsInjections:
      - type: CHART_GROUP
        key: host-ncalertmanager-alerts
        conditions:
          - relatedEntity|entitySelectorTemplate=type(custom:dt_extension_prometheus_nc_alertmanager_host),fromRelationships.isSameAs($(entityConditions))
    chartsCards:
      - key: "host-ncalertmanager-alerts"
        displayName: "NC Alertmanager Alerts"
        numberOfVisibleCharts: 1
        charts:
          - displayName: "NC Alertmanager alerts"
            visualizationType: GRAPH_CHART
            graphChartConfig:
              stacked: false
              metrics:
                - metricSelector: "com.dynatrace.extension.prometheus-nc-alertmanager.alert_state:filter(in(\"dt.entity.custom:dt_extension_prometheus_nc_alertmanager_host\",entitySelector(\"type(custom:dt_extension_prometheus_nc_alertmanager_host),fromRelationships.isSameAs($(entityConditions))\"))):splitBy(\"description\")"
                  visualization:
                    displayName: Status&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="debeste_0-1680261885062.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/10878iBD1C104C1CC3AAC5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="debeste_0-1680261885062.png" alt="debeste_0-1680261885062.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To check if your entities are linked, you need too querry the API&amp;nbsp; /api/v2/entities/CUSTOM_DEVICE-******&lt;/P&gt;&lt;P&gt;And then you should see something like:&lt;/P&gt;&lt;P&gt;"fromRelationships": {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "isSameAs": [&lt;BR /&gt;&amp;nbsp; &amp;nbsp; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "id": "HOST-*****",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "type": "HOST"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ]&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2023 11:34:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Extensions-2-0-add-card-to-OOTB-host-screen/m-p/208758#M2925</guid>
      <dc:creator>debeste</dc:creator>
      <dc:date>2023-03-31T11:34:04Z</dc:date>
    </item>
  </channel>
</rss>

