<?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 Using Generic Database Query Plugin with multiple Databases and Queries in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/Using-Generic-Database-Query-Plugin-with-multiple-Databases-and/m-p/209441#M2945</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;We are using Generic DB Query Plugin and its behavior is strange - it is not working according to the documentation and configuration settings.&lt;/P&gt;
&lt;P&gt;While there was just one endpoint and one query, everything worked as expected. There was one metric, and we customized the metadata for it - pretty name, units (seconds), dimensions, panels, and alerting.&lt;/P&gt;
&lt;P&gt;Then, we created one more endpoint, that is completely different - it is gathering data from another database, with different metrics, dimensions, etc. Data is ingested correctly (based on the logs), but everything from all the queries is now mixed within that first metric created. Ie no new metrics are created from the value columns, all that is gathered is added to the first metric, and it is a mess.&lt;/P&gt;
&lt;P&gt;Plugin documentation states that different metrics will be created. When I reached the Dynatrace team, they explained that the plugin could (for some reason) create only one metric and we are expected to differentiate by splitting. But how do we use different unit types (seconds, count, etc.) if this is a single metric? Alerting also works strangely as it triggers on data coming from various queries.&lt;/P&gt;
&lt;P&gt;Does anybody have experience of using the DB Query Plugin with multiple databases and queries? How do we split the feeds into different metrics? Or is there an alternative to this plugin?&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Tue, 20 Aug 2024 10:46:43 GMT</pubDate>
    <dc:creator>alter</dc:creator>
    <dc:date>2024-08-20T10:46:43Z</dc:date>
    <item>
      <title>Using Generic Database Query Plugin with multiple Databases and Queries</title>
      <link>https://community.dynatrace.com/t5/Extensions/Using-Generic-Database-Query-Plugin-with-multiple-Databases-and/m-p/209441#M2945</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;We are using Generic DB Query Plugin and its behavior is strange - it is not working according to the documentation and configuration settings.&lt;/P&gt;
&lt;P&gt;While there was just one endpoint and one query, everything worked as expected. There was one metric, and we customized the metadata for it - pretty name, units (seconds), dimensions, panels, and alerting.&lt;/P&gt;
&lt;P&gt;Then, we created one more endpoint, that is completely different - it is gathering data from another database, with different metrics, dimensions, etc. Data is ingested correctly (based on the logs), but everything from all the queries is now mixed within that first metric created. Ie no new metrics are created from the value columns, all that is gathered is added to the first metric, and it is a mess.&lt;/P&gt;
&lt;P&gt;Plugin documentation states that different metrics will be created. When I reached the Dynatrace team, they explained that the plugin could (for some reason) create only one metric and we are expected to differentiate by splitting. But how do we use different unit types (seconds, count, etc.) if this is a single metric? Alerting also works strangely as it triggers on data coming from various queries.&lt;/P&gt;
&lt;P&gt;Does anybody have experience of using the DB Query Plugin with multiple databases and queries? How do we split the feeds into different metrics? Or is there an alternative to this plugin?&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 10:46:43 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Using-Generic-Database-Query-Plugin-with-multiple-Databases-and/m-p/209441#M2945</guid>
      <dc:creator>alter</dc:creator>
      <dc:date>2024-08-20T10:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using Generic DB Query Plugin with multiple databases and queries</title>
      <link>https://community.dynatrace.com/t5/Extensions/Using-Generic-Database-Query-Plugin-with-multiple-Databases-and/m-p/214469#M3082</link>
      <description>&lt;P&gt;We have a 1 to 1 ratio - 1 query for 1 server as 1 Generic DB Extension Endpoint. We have not run into any issues.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 15:18:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Using-Generic-Database-Query-Plugin-with-multiple-Databases-and/m-p/214469#M3082</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2023-06-08T15:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Using Generic DB Query Plugin with multiple databases and queries</title>
      <link>https://community.dynatrace.com/t5/Extensions/Using-Generic-Database-Query-Plugin-with-multiple-Databases-and/m-p/222800#M3378</link>
      <description>&lt;P&gt;Yes i agree. Everything is stored in custom.db.query metric but&amp;nbsp;so it's quite difficult to manage it (filtering to select data for many dashboards).&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 10:03:20 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Using-Generic-Database-Query-Plugin-with-multiple-Databases-and/m-p/222800#M3378</guid>
      <dc:creator>rsaliou</dc:creator>
      <dc:date>2023-09-12T10:03:20Z</dc:date>
    </item>
  </channel>
</rss>

