<?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: Activegate extension upload error: UI keyMetrics section: key refers to a non-existent timeseries in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/ActiveGate-extension-upload-error-UI-keyMetrics-section-key/m-p/227536#M3545</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;BR /&gt;I've finally found where the issue was. And sorry for now posting the complete code.&amp;nbsp;&lt;BR /&gt;In the keychar section, sendgrid.delivery key had some properties that are used for statetimeseries following a copy/paste.&lt;BR /&gt;After changing&amp;nbsp;statecolorsto colorand removing&amp;nbsp;statechartproperties, i was able to upload the plugin.&lt;BR /&gt;Marking this post as resolved.&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;{
                "group": "SendGrid",
                "title": "Delivered emails",
                "series": [
                    {
                        "key": "sendgrid.delivered",
                        "displayname": "Delivered emails",
                        "seriestype": "line",
                        "statecolors": ["#ff3333"],
                        "statechart": true
                    }
                ]
            }&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Nov 2023 08:07:25 GMT</pubDate>
    <dc:creator>CedM</dc:creator>
    <dc:date>2023-11-03T08:07:25Z</dc:date>
    <item>
      <title>ActiveGate extension upload error: UI keyMetrics section: key refers to a non-existent timeseries</title>
      <link>https://community.dynatrace.com/t5/Extensions/ActiveGate-extension-upload-error-UI-keyMetrics-section-key/m-p/226981#M3504</link>
      <description>&lt;P&gt;Hello there, i have created an Activegate extension using SDK version 1.275.&amp;nbsp;when executing the `verify_plugin` command, no issue is reported and the `simulate_plugin` does not give errors either. issue is when I'm trying to upload the extension, I'm getting following error: `UI keyMetrics section: key refers to a non-existent timeseries (sendgrid.delivered)`&lt;/P&gt;
&lt;P&gt;Below sample of my `plugin.json` file built using &lt;A href="https://docs.dynatrace.com/docs/extend-dynatrace/extensions/reference/json-reference/extension-json-explained" target="_blank" rel="noopener"&gt;Extension JSON explained | Dynatrace Docs&lt;/A&gt;:&lt;BR /&gt;&lt;BR /&gt;&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;LI-CODE lang="markup"&gt;"ui": {
        "keymetrics": [
            {
                "key": "sendgrid.delivered",
                "aggregation": "max",
                "mergeaggregation": "sum",
                "displayname": "Delivered emails"
            }
        ],
        "keycharts": [
            {
                "group": "API status",
                "title": "State",
                "series": [
                    {
                        "key": "sendgrid.api.connection",
                        "displayname": "SendGrid API Connection Status",
                        "seriestype": "bar",
                        "statecolors": ["#ff3333", "#ffd633", "#00b33c"],
                        "statechart": true
                    }
                ]
            },
            {
                "group": "SendGrid",
                "title": "Delivered emails",
                "series": [
                    {
                        "key": "sendgrid.delivered",
                        "displayname": "Delivered emails",
                        "seriestype": "line",
                        "statecolors": ["#ff3333"],
                        "statechart": true
                    }
                ]
            }
	],
        "charts": [
            {
                "group": "SendGrid",
                "title": "Delivered emails",
                "series": [
                    {
                        "key": "sendgrid.delivered",
                        "displayname": "Delivered emails",
                        "seriestype": "line",
                        "color": "#74cff7",
                        "metricexplanation": "The number of emails SendGrid was able to confirm were actually delivered to a recipient."
                    }
                ]
            }
        ]
    },
    "metrics": [
        {  "statetimeseries": {
                    "key": "sendgrid.api.connection",
                    "states": ["DOWNTIME", "MAINTENANCE", "WORKING"],
                    "displayname": "Sendgrid API Connection"
                   },
                    "entity": "CUSTOM_DEVICE"
            },
            {
                "timeseries": {
                    "key": "sendgrid.delivered",
                    "unit": "Count",
                    "displayname": "Delivered emails",
                    "aggregation": "SUM"
                },
                "entity": "CUSTOM_DEVICE"
            }
    ],&lt;/LI-CODE&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;Thanks for your help.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Cedric&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 07:56:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/ActiveGate-extension-upload-error-UI-keyMetrics-section-key/m-p/226981#M3504</guid>
      <dc:creator>CedM</dc:creator>
      <dc:date>2024-08-20T07:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Activegate extension upload error: UI keyMetrics section: key refers to a non-existent timeseries</title>
      <link>https://community.dynatrace.com/t5/Extensions/ActiveGate-extension-upload-error-UI-keyMetrics-section-key/m-p/227184#M3510</link>
      <description>&lt;P&gt;I tried recreating this using your snippets in a full plugin.json file but I am not getting any errors. See below which uploads without any validation errors.&lt;/P&gt;
&lt;P&gt;Could you share your full plugin.json file?&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
   "name":"custom.remote.python.example",
   "version":"1.19",
   "productiveMinVersion":"1.000",
   "type":"python",
   "entity":"CUSTOM_DEVICE",
   "metricGroup":"tech.Example_Service",
   "technologies":[
      "EXAMPLE_SERVICE"
   ],
   "source":{
      "package":"demo_activegate_plugin_multi",
      "className":"RemoteExamplePlugin",
      "install_requires":[
         "requests&amp;gt;=2.6.0"
      ],
      "activation":"Remote"
   },
   "ui":{
      "keymetrics":[
         {
            "key":"sendgrid.delivered",
            "aggregation":"max",
            "mergeaggregation":"sum",
            "displayname":"Delivered emails"
         }
      ]
   },
   "metrics":[
      {
         "timeseries":{
            "key":"sendgrid.delivered",
            "unit":"Count",
            "displayname":"Delivered emails",
            "aggregation":"SUM"
         },
         "entity":"CUSTOM_DEVICE"
      }
   ],
   "properties":[
      {
         "key":"url",
         "type":"String"
      }
   ]
}&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 31 Oct 2023 14:50:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/ActiveGate-extension-upload-error-UI-keyMetrics-section-key/m-p/227184#M3510</guid>
      <dc:creator>JamesKitson</dc:creator>
      <dc:date>2023-10-31T14:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Activegate extension upload error: UI keyMetrics section: key refers to a non-existent timeseries</title>
      <link>https://community.dynatrace.com/t5/Extensions/ActiveGate-extension-upload-error-UI-keyMetrics-section-key/m-p/227536#M3545</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;BR /&gt;I've finally found where the issue was. And sorry for now posting the complete code.&amp;nbsp;&lt;BR /&gt;In the keychar section, sendgrid.delivery key had some properties that are used for statetimeseries following a copy/paste.&lt;BR /&gt;After changing&amp;nbsp;statecolorsto colorand removing&amp;nbsp;statechartproperties, i was able to upload the plugin.&lt;BR /&gt;Marking this post as resolved.&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;{
                "group": "SendGrid",
                "title": "Delivered emails",
                "series": [
                    {
                        "key": "sendgrid.delivered",
                        "displayname": "Delivered emails",
                        "seriestype": "line",
                        "statecolors": ["#ff3333"],
                        "statechart": true
                    }
                ]
            }&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2023 08:07:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/ActiveGate-extension-upload-error-UI-keyMetrics-section-key/m-p/227536#M3545</guid>
      <dc:creator>CedM</dc:creator>
      <dc:date>2023-11-03T08:07:25Z</dc:date>
    </item>
  </channel>
</rss>

