<?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: python custom plugin - properties - report_custom_annotation_event in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/Python-custom-plugin-properties-report-custom-annotation-event/m-p/114798#M666</link>
    <description>&lt;P&gt;Hi Wolfgang,&lt;BR /&gt;please take a look at the picture.&lt;BR /&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/25747-1594895886337.png" /&gt;&lt;/P&gt;&lt;P&gt;I would like to add more custom information in this annotation,  but I was able to add only one (using the command that I wrote before)&lt;/P&gt;&lt;P&gt;Can you help me to understand how to add more details?&lt;/P&gt;</description>
    <pubDate>Thu, 16 Jul 2020 10:39:49 GMT</pubDate>
    <dc:creator>dmascolo</dc:creator>
    <dc:date>2020-07-16T10:39:49Z</dc:date>
    <item>
      <title>Python custom plugin - properties - report_custom_annotation_event</title>
      <link>https://community.dynatrace.com/t5/Extensions/Python-custom-plugin-properties-report-custom-annotation-event/m-p/114796#M664</link>
      <description>&lt;P&gt;Hi all,&lt;BR /&gt;I would like to add more custom properties to a device using a python custom plugin:&lt;BR /&gt;&lt;BR /&gt;I used the following command in order to add Current SQL value (curr_sql):&lt;/P&gt;
&lt;P&gt;topology_device.report_custom_annotation_event(description="Annotation event",annotation_type="demo",source="demo source",properties[]={"Current SQL": curr_sql})&lt;BR /&gt;&lt;BR /&gt;I tried several times changing syntax but I wasn't able to add more properties.&lt;/P&gt;
&lt;P&gt;Can you suggest me how to do?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;BR /&gt;Davide&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 13:55:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Python-custom-plugin-properties-report-custom-annotation-event/m-p/114796#M664</guid>
      <dc:creator>dmascolo</dc:creator>
      <dc:date>2023-05-18T13:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: python custom plugin - properties - report_custom_annotation_event</title>
      <link>https://community.dynatrace.com/t5/Extensions/Python-custom-plugin-properties-report-custom-annotation-event/m-p/114797#M665</link>
      <description>&lt;P&gt;That is for adding an event rather than a property. This sends an annotation event onto an entity but it does not add any property.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 10:35:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Python-custom-plugin-properties-report-custom-annotation-event/m-p/114797#M665</guid>
      <dc:creator>wolfgang_beer</dc:creator>
      <dc:date>2020-07-16T10:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: python custom plugin - properties - report_custom_annotation_event</title>
      <link>https://community.dynatrace.com/t5/Extensions/Python-custom-plugin-properties-report-custom-annotation-event/m-p/114798#M666</link>
      <description>&lt;P&gt;Hi Wolfgang,&lt;BR /&gt;please take a look at the picture.&lt;BR /&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/25747-1594895886337.png" /&gt;&lt;/P&gt;&lt;P&gt;I would like to add more custom information in this annotation,  but I was able to add only one (using the command that I wrote before)&lt;/P&gt;&lt;P&gt;Can you help me to understand how to add more details?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 10:39:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Python-custom-plugin-properties-report-custom-annotation-event/m-p/114798#M666</guid>
      <dc:creator>dmascolo</dc:creator>
      <dc:date>2020-07-16T10:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: python custom plugin - properties - report_custom_annotation_event</title>
      <link>https://community.dynatrace.com/t5/Extensions/Python-custom-plugin-properties-report-custom-annotation-event/m-p/114799#M667</link>
      <description>&lt;P&gt;In your example, add more key value pairs into the last dict: &lt;EM&gt;{"Current SQL": curr_sql, &lt;EM&gt;"Second property": "hello"&lt;/EM&gt;}&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 12:31:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Python-custom-plugin-properties-report-custom-annotation-event/m-p/114799#M667</guid>
      <dc:creator>Mike_L</dc:creator>
      <dc:date>2020-07-16T12:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: python custom plugin - properties - report_custom_annotation_event</title>
      <link>https://community.dynatrace.com/t5/Extensions/Python-custom-plugin-properties-report-custom-annotation-event/m-p/114800#M668</link>
      <description>&lt;P&gt;Hi Davide,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The properties argument is a dictionary of key, value pairs, you can do something like this:&lt;/P&gt;&lt;P&gt;topology_device.report_custom_annotation_event(description="Annotation event",annotation_type="demo",source="demo source",properties={"Key1": "Value1", "Key2": "Value2"}) &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I hope this helps&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 14:00:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Python-custom-plugin-properties-report-custom-annotation-event/m-p/114800#M668</guid>
      <dc:creator>Piotr_Meller</dc:creator>
      <dc:date>2020-07-16T14:00:39Z</dc:date>
    </item>
  </channel>
</rss>

