<?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: Synthetic SQL query monitor in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/Synthetic-SQL-query-monitor/m-p/119679#M886</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;give this a try - did not test the functionality of the app itself but at least the API is reachable&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;FROM python:3.8.5-slim-buster&lt;/DIV&gt;&lt;DIV&gt;ADD installODBCDrivers.sh .&lt;/DIV&gt;&lt;DIV&gt;RUN chmod +x installODBCDrivers.sh&lt;/DIV&gt;&lt;DIV&gt;RUN bash -c "./installODBCDrivers.sh"&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;WORKDIR /code&lt;/DIV&gt;&lt;DIV&gt;COPY requirements.txt .&lt;/DIV&gt;&lt;DIV&gt;RUN pip install -r requirements.txt&lt;/DIV&gt;&lt;DIV&gt;COPY src/ .&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;CMD ["python", "./server.py"]&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;you could play around with passing the env variables through the dockerfile, I'll update the repo next week with a fully tested dockerfile&lt;/P&gt;</description>
    <pubDate>Fri, 11 Sep 2020 07:15:03 GMT</pubDate>
    <dc:creator>rene_forstner</dc:creator>
    <dc:date>2020-09-11T07:15:03Z</dc:date>
    <item>
      <title>Synthetic SQL query monitor</title>
      <link>https://community.dynatrace.com/t5/Extensions/Synthetic-SQL-query-monitor/m-p/119670#M877</link>
      <description>&lt;P&gt;Dear community,&lt;/P&gt;
&lt;P&gt;In good old AppMon there existed the &lt;A href="https://community.dynatrace.com/community/display/DL/DB+Query+Monitor+Plugin?_ga=2.186801579.2011618517.1560422189-1388494667.1539072555" target="_blank" rel="noopener noreferrer"&gt;DB Query Monitor&lt;/A&gt; plugin which could be used to send an arbitrary SQL query against a database at scheduled intervals and derive various measures from it (row count, response time etc.).&lt;/P&gt;
&lt;P&gt;Question: Is there an equivalent capability or plugin available for Dynatrace which could be used to run SQL queries at scheduled intervals (say: hourly) either from an ActiveGate or a OneAgent and derive metrics such as row count and response time from it? Kinda like a synthetic monitor, only for simulating DB clients &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If there isn't anything available out-of-the-box or as an optional plugin: Would this be a project worth pursuing as a self-written Python plugin to run on OneAgents?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any feedback would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 09:09:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Synthetic-SQL-query-monitor/m-p/119670#M877</guid>
      <dc:creator>Enrico_F</dc:creator>
      <dc:date>2025-06-05T09:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic SQL query monitor</title>
      <link>https://community.dynatrace.com/t5/Extensions/Synthetic-SQL-query-monitor/m-p/119671#M878</link>
      <description>&lt;P&gt;There is none yet that I know of. &lt;/P&gt;&lt;P&gt;Would be a good way to get started with dynatrace plugins. You could use a &lt;A rel="noopener noreferrer" href="https://www.dynatrace.com/support/help/extend-dynatrace/plugins/activegate-plugins/" target="_blank"&gt;Active Gate Plugin&lt;/A&gt; for that aswell.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Jun 2019 18:12:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Synthetic-SQL-query-monitor/m-p/119671#M878</guid>
      <dc:creator>pahofmann</dc:creator>
      <dc:date>2019-06-13T18:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic SQL query monitor</title>
      <link>https://community.dynatrace.com/t5/Extensions/Synthetic-SQL-query-monitor/m-p/119672#M879</link>
      <description>&lt;P&gt;I agree this is a good candidate for an Active Gate plugin.  I'm sure others would make use of it if you publish it on github.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Jun 2019 23:38:00 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Synthetic-SQL-query-monitor/m-p/119672#M879</guid>
      <dc:creator>dave_mauney</dc:creator>
      <dc:date>2019-06-13T23:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic SQL query monitor</title>
      <link>https://community.dynatrace.com/t5/Extensions/Synthetic-SQL-query-monitor/m-p/119673#M880</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.dynatrace.com/users/11534/view.html" nodeid="11534"&gt;@Patrick H.&lt;/A&gt; and &lt;A rel="user" href="https://answers.dynatrace.com/users/3212/view.html" nodeid="3212"&gt;@Dave M.&lt;/A&gt; are right, you can create a plugin. What we have on our road map are "custom monitors" which enrich our Synthetic use case to additional protocol checks like pings, trace route or ldap checks. I can't give you a date when we will be ready ... but it will not be in the next 6 months &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Jun 2019 06:27:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Synthetic-SQL-query-monitor/m-p/119673#M880</guid>
      <dc:creator>AlexanderSommer</dc:creator>
      <dc:date>2019-06-14T06:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic SQL query monitor</title>
      <link>https://community.dynatrace.com/t5/Extensions/Synthetic-SQL-query-monitor/m-p/119674#M881</link>
      <description>&lt;P&gt;That's a great addition for the feature though! &lt;/P&gt;&lt;P&gt;Heard requests like that at a few customers, and although it's possible via plugins, having this directly in synthetic would be a lower barrier of entry.  &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Jun 2019 09:11:19 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Synthetic-SQL-query-monitor/m-p/119674#M881</guid>
      <dc:creator>pahofmann</dc:creator>
      <dc:date>2019-06-14T09:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic SQL query monitor</title>
      <link>https://community.dynatrace.com/t5/Extensions/Synthetic-SQL-query-monitor/m-p/119675#M882</link>
      <description>&lt;P&gt;Thanks for the feedback!&lt;/P&gt;&lt;P&gt;Regarding the custom plugin approach: What's limiting in our case is that the execution interval is &lt;A rel="noopener noreferrer" href="https://answers.dynatrace.com/spaces/482/dynatrace-open-qa/questions/217821/change-plugin-execution-interval.html" target="_blank"&gt;hard-coded to be 1 min and can't be changed&lt;/A&gt;...&lt;/P&gt;&lt;P&gt;Is this still the case for the latest version? And if so, is there something on the roadmap for allowing more flexibility?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Jun 2019 09:52:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Synthetic-SQL-query-monitor/m-p/119675#M882</guid>
      <dc:creator>Enrico_F</dc:creator>
      <dc:date>2019-06-14T09:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic SQL query monitor</title>
      <link>https://community.dynatrace.com/t5/Extensions/Synthetic-SQL-query-monitor/m-p/119676#M883</link>
      <description>&lt;P&gt;Not sure if this still an actual case, however we developed a rather experimental plugin, which does not rely on OneAgent or ActiveGates but using the 3rd Party Synthetic API and pythons APScheduler to exectue SQL Queries regulary:&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://github.com/NTTDATA-EMEA/dynatrace-sql-plugin" target="_blank"&gt;https://github.com/NTTDATA-EMEA/dynatrace-sql-plugin&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 11:56:14 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Synthetic-SQL-query-monitor/m-p/119676#M883</guid>
      <dc:creator>rene_forstner</dc:creator>
      <dc:date>2020-09-10T11:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic SQL query monitor</title>
      <link>https://community.dynatrace.com/t5/Extensions/Synthetic-SQL-query-monitor/m-p/119677#M884</link>
      <description>&lt;P&gt;Hi, Any update or news on this?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 19:55:17 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Synthetic-SQL-query-monitor/m-p/119677#M884</guid>
      <dc:creator>Kenny_Gillette</dc:creator>
      <dc:date>2020-09-10T19:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic SQL query monitor</title>
      <link>https://community.dynatrace.com/t5/Extensions/Synthetic-SQL-query-monitor/m-p/119678#M885</link>
      <description>&lt;P&gt;This is great - thanks a lot for sharing!&lt;/P&gt;&lt;P&gt;"can easily be containerized" sounds good, too - although for me not so easy to do atm... If anyone can share an OpenShift build config, docker compose file or even a deployable docker image that would be awesome...&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 06:29:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Synthetic-SQL-query-monitor/m-p/119678#M885</guid>
      <dc:creator>Enrico_F</dc:creator>
      <dc:date>2020-09-11T06:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic SQL query monitor</title>
      <link>https://community.dynatrace.com/t5/Extensions/Synthetic-SQL-query-monitor/m-p/119679#M886</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;give this a try - did not test the functionality of the app itself but at least the API is reachable&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;FROM python:3.8.5-slim-buster&lt;/DIV&gt;&lt;DIV&gt;ADD installODBCDrivers.sh .&lt;/DIV&gt;&lt;DIV&gt;RUN chmod +x installODBCDrivers.sh&lt;/DIV&gt;&lt;DIV&gt;RUN bash -c "./installODBCDrivers.sh"&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;WORKDIR /code&lt;/DIV&gt;&lt;DIV&gt;COPY requirements.txt .&lt;/DIV&gt;&lt;DIV&gt;RUN pip install -r requirements.txt&lt;/DIV&gt;&lt;DIV&gt;COPY src/ .&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;CMD ["python", "./server.py"]&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;you could play around with passing the env variables through the dockerfile, I'll update the repo next week with a fully tested dockerfile&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 07:15:03 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Synthetic-SQL-query-monitor/m-p/119679#M886</guid>
      <dc:creator>rene_forstner</dc:creator>
      <dc:date>2020-09-11T07:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic SQL query monitor</title>
      <link>https://community.dynatrace.com/t5/Extensions/Synthetic-SQL-query-monitor/m-p/119680#M887</link>
      <description>&lt;P&gt;as mentioned on the answer above,&lt;/P&gt;&lt;P&gt;Check out this repo:&lt;/P&gt;&lt;BR /&gt; &lt;P&gt;&lt;A rel="nofollow noopener noreferrer" href="https://github.com/NTTDATA-EMEA/dynatrace-sql-plugin" target="_blank"&gt;https://github.com/NTTDATA-EMEA/dynatrace-sql-plugin&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt; &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt; &lt;P&gt;Its using the 3rd party synthetic API, flask to add/remove synthetic&lt;BR /&gt; SQL queries and APScheduler to execute them at the defined intervals.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 07:16:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Synthetic-SQL-query-monitor/m-p/119680#M887</guid>
      <dc:creator>rene_forstner</dc:creator>
      <dc:date>2020-09-11T07:16:23Z</dc:date>
    </item>
  </channel>
</rss>

