<?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: Custom ActiveGate plugin - how to properly send events back to Dynatrace in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/Custom-ActiveGate-plugin-how-to-properly-send-events-back-to/m-p/121822#M1073</link>
    <description>&lt;P&gt;Hi Jan, I currently don't have the time to run any tests (I use report_error_event by the way). But it will not change the problem timeout. Make sure that you resend the same error before the timeout happens and the problem should stay open. If not please raise a support ticket.&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description>
    <pubDate>Mon, 22 Feb 2021 16:09:26 GMT</pubDate>
    <dc:creator>Mike_L</dc:creator>
    <dc:date>2021-02-22T16:09:26Z</dc:date>
    <item>
      <title>Custom ActiveGate plugin - how to properly send events back to Dynatrace?</title>
      <link>https://community.dynatrace.com/t5/Extensions/Custom-ActiveGate-plugin-how-to-properly-send-events-back-to/m-p/121821#M1072</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;When scrolling through the &lt;A href="https://dynatrace.github.io/plugin-sdk/api/remote_python_apidoc.html" target="_blank" rel="noopener noreferrer"&gt;API-documentation&lt;/A&gt; before writing a new python plugin, I noticed 2 different ways to report events back to Dynatrace:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;U&gt;&lt;STRONG&gt;The old way&lt;/STRONG&gt;&lt;/U&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;PRE&gt;grp = self.topology_builder.create_group(grp_id, grp_name)&lt;BR /&gt;dev = grp.create_device(dev_id, dev_name)&lt;BR /&gt;dev.report_error_event(title, desc, props)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;U&gt;&lt;STRONG&gt;The new way&lt;/STRONG&gt;&lt;/U&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;PRE&gt;xxx.event_error(title, desc, props)&lt;/PRE&gt;
&lt;P&gt;Via the chat I got the message:&lt;/P&gt;
&lt;P style="margin-left: 20px;"&gt;&lt;EM&gt;Result of both operations are basically the same - the only difference is that report_performance_event is called with results_builder context (the older method of reporting data, still supported), while event_performance is method called with entity context (newer approach) &lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;I hoped it'd be a simple replace-thing, but when replacing dev.report_error_event with dev.event_error I get the message&lt;/P&gt;
&lt;PRE&gt;AttributeError: 'Device' object has no attribute 'event_error'&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can someone help me out with this?&lt;/P&gt;
&lt;P&gt;It's the 'new approach' but it's not mentioned in documentation or sample applications.&lt;/P&gt;
&lt;P&gt;The reason why I'd like to find out is because we're having troubles with problems being closed every 30minutes.&lt;/P&gt;
&lt;P&gt;So I'd like to find out if we have the same problem with the new way of reporting problems also?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Jan&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 12:58:07 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Custom-ActiveGate-plugin-how-to-properly-send-events-back-to/m-p/121821#M1072</guid>
      <dc:creator>Jan_VanBelle</dc:creator>
      <dc:date>2023-05-18T12:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Custom ActiveGate plugin - how to properly send events back to Dynatrace</title>
      <link>https://community.dynatrace.com/t5/Extensions/Custom-ActiveGate-plugin-how-to-properly-send-events-back-to/m-p/121822#M1073</link>
      <description>&lt;P&gt;Hi Jan, I currently don't have the time to run any tests (I use report_error_event by the way). But it will not change the problem timeout. Make sure that you resend the same error before the timeout happens and the problem should stay open. If not please raise a support ticket.&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 16:09:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Custom-ActiveGate-plugin-how-to-properly-send-events-back-to/m-p/121822#M1073</guid>
      <dc:creator>Mike_L</dc:creator>
      <dc:date>2021-02-22T16:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Custom ActiveGate plugin - how to properly send events back to Dynatrace</title>
      <link>https://community.dynatrace.com/t5/Extensions/Custom-ActiveGate-plugin-how-to-properly-send-events-back-to/m-p/168537#M1603</link>
      <description>&lt;P&gt;Btw since 1.205 there are bugs with deduplication of events (should be resolved with 217, but my experience says it is not). I'd recommend using Events API instead.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 15:21:48 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Custom-ActiveGate-plugin-how-to-properly-send-events-back-to/m-p/168537#M1603</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2021-06-30T15:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: Custom ActiveGate plugin - how to properly send events back to Dynatrace</title>
      <link>https://community.dynatrace.com/t5/Extensions/Custom-ActiveGate-plugin-how-to-properly-send-events-back-to/m-p/168538#M1604</link>
      <description>&lt;P&gt;Our tests of version 217 shows that's it's resolved and keeps a single problem open for the duration of us sending the same title+description at least once every 15 minutes.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 15:23:57 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Custom-ActiveGate-plugin-how-to-properly-send-events-back-to/m-p/168538#M1604</guid>
      <dc:creator>Mike_L</dc:creator>
      <dc:date>2021-06-30T15:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Custom ActiveGate plugin - how to properly send events back to Dynatrace</title>
      <link>https://community.dynatrace.com/t5/Extensions/Custom-ActiveGate-plugin-how-to-properly-send-events-back-to/m-p/168586#M1605</link>
      <description>&lt;P&gt;Hi Mike,&lt;BR /&gt;&lt;BR /&gt;just tried again with ActiveGate 1.217. No, it still does not work and I don't want to open a third support ticket for the same issue &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I will stick with the Events API.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Julius&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 11:25:00 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Custom-ActiveGate-plugin-how-to-properly-send-events-back-to/m-p/168586#M1605</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2021-07-01T11:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Custom ActiveGate plugin - how to properly send events back to Dynatrace</title>
      <link>https://community.dynatrace.com/t5/Extensions/Custom-ActiveGate-plugin-how-to-properly-send-events-back-to/m-p/197441#M2501</link>
      <description>&lt;P&gt;I would already be pleased if I could find the actual SDK Dokumentation Online, the link &lt;A href="https://dynatrace.github.io/plugin-sdk/api/remote_python_apidoc.html" target="_blank"&gt;https://dynatrace.github.io/plugin-sdk/api/remote_python_apidoc.html&lt;/A&gt; is dead.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 15:20:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Custom-ActiveGate-plugin-how-to-properly-send-events-back-to/m-p/197441#M2501</guid>
      <dc:creator>Vanguard</dc:creator>
      <dc:date>2022-10-28T15:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Custom ActiveGate plugin - how to properly send events back to Dynatrace</title>
      <link>https://community.dynatrace.com/t5/Extensions/Custom-ActiveGate-plugin-how-to-properly-send-events-back-to/m-p/197443#M2503</link>
      <description>&lt;P&gt;This is probably the best one instead of the link you posted:&amp;nbsp;&lt;A href="https://www.dynatrace.com/support/help/extend-dynatrace/extensions/development/extension-how-tos/topology" target="_blank"&gt;https://www.dynatrace.com/support/help/extend-dynatrace/extensions/development/extension-how-tos/topology&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 15:25:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Custom-ActiveGate-plugin-how-to-properly-send-events-back-to/m-p/197443#M2503</guid>
      <dc:creator>Mike_L</dc:creator>
      <dc:date>2022-10-28T15:25:15Z</dc:date>
    </item>
  </channel>
</rss>

