<?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: Postgres EF2 querying group errors in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/Postgres-EF2-querying-group-errors/m-p/253761#M5003</link>
    <description>&lt;P&gt;Those are just the names of the groups in the extension. The extension actually goes to&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;pg_stat_statements &lt;/STRONG&gt;for&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;'pg_stat_statements_topn'&lt;/LI&gt;&lt;LI&gt;'pg_stat_statements_topn_12-'&lt;/LI&gt;&lt;LI&gt;'pg_stat_statements_topn_14+'&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;pg_stat_activity &lt;/STRONG&gt;for&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;'pg_stat_activity_longest'&lt;/LI&gt;&lt;LI&gt;pg_stat_activity_aggregated&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;You can see this and the exact queries yourself by downloading the extension zip file for your version from the &lt;A href="https://www.dynatrace.com/hub/detail/postgresdb-remote-monitoring/?query=postgres&amp;amp;filter=all#release-notes" target="_self"&gt;Dynatrace Hub&lt;/A&gt; and checking the extension.yaml file.&lt;/P&gt;&lt;P&gt;From the error message, the problem seems to be related to the connection from the AG to the database though... I would suggest opening a support ticket with Dynatrace so that they can have a look at the AG support archive and see exactly what's going on. This kind of problem can be tricky.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Aug 2024 07:10:55 GMT</pubDate>
    <dc:creator>TomásSeroteRoos</dc:creator>
    <dc:date>2024-08-21T07:10:55Z</dc:date>
    <item>
      <title>Postgres EF2 querying group errors</title>
      <link>https://community.dynatrace.com/t5/Extensions/Postgres-EF2-querying-group-errors/m-p/253692#M4999</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;
&lt;P&gt;Customer installed Postgres EF2 and see the follows errors in logs&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;[59fe9974-0efc-3f6b-b9f1-0c0f2899e878][1270370671638307859][4772][out][59fe9974-0efc-3f6b-b9f1-0c0f2899e878]2024-08-13 | 11:16:43.046 | pool-5-thread-1      | ERROR | c.d.s.p.p.AbstractPoller  | While polling from endpoint ServerName:PortNum:postgres, querying group 'pg_stat_statements_topn_14+' failed
[59fe9974-0efc-3f6b-b9f1-0c0f2899e878][1270370671638307859][4772][out]org.apache.tomcat.jdbc.pool.PoolExhaustedException: [pool-5-thread-1] Timeout: Pool empty. Unable to fetch a connection in 30 seconds, none available[size:1; busy:1; idle:0; lastwait:30000].
[59fe9974-0efc-3f6b-b9f1-0c0f2899e878][1270370671638307859][4772][out]	at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:741)
[59fe9974-0efc-3f6b-b9f1-0c0f2899e878][1270370671638307859][4772][out]	at org.apache.tomcat.jdbc.pool.ConnectionPool.getConnection(ConnectionPool.java:199)
[59fe9974-0efc-3f6b-b9f1-0c0f2899e878][1270370671638307859][4772][out]	at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:133)
[59fe9974-0efc-3f6b-b9f1-0c0f2899e878][1270370671638307859][4772][out]	at com.dynatrace.sql.jdbc.JdbcExecutor.getConnection(JdbcExecutor.java:136)
[59fe9974-0efc-3f6b-b9f1-0c0f2899e878][1270370671638307859][4772][out]	at com.dynatrace.sql.jdbc.JdbcExecutor.execute(JdbcExecutor.java:57)
[59fe9974-0efc-3f6b-b9f1-0c0f2899e878][1270370671638307859][4772][out]	at com.dynatrace.sql.polling.pollers.AbstractPoller.poll(AbstractPoller.java:79)
[59fe9974-0efc-3f6b-b9f1-0c0f2899e878][1270370671638307859][4772][out]	at com.dynatrace.sql.polling.pollers.TopNPoller.poll(TopNPoller.java:77)
[59fe9974-0efc-3f6b-b9f1-0c0f2899e878][1270370671638307859][4772][out]	at com.dynatrace.sql.polling.pollers.TopNPoller.lambda$schedulePolling$1(TopNPoller.java:103)
[59fe9974-0efc-3f6b-b9f1-0c0f2899e878][1270370671638307859][4772][out]	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
[59fe9974-0efc-3f6b-b9f1-0c0f2899e878][1270370671638307859][4772][out]	at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source)
[59fe9974-0efc-3f6b-b9f1-0c0f2899e878][1270370671638307859][4772][out]	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
[59fe9974-0efc-3f6b-b9f1-0c0f2899e878][1270370671638307859][4772][out]	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[59fe9974-0efc-3f6b-b9f1-0c0f2899e878][1270370671638307859][4772][out]	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[59fe9974-0efc-3f6b-b9f1-0c0f2899e878][1270370671638307859][4772][out]	at java.base/java.lang.Thread.run(Unknown Source)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We see in logs those errors for the follows groups:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&amp;nbsp;'pg_stat_statements_topn'&lt;/LI&gt;
&lt;LI&gt;'pg_stat_statements_topn_12-'&lt;/LI&gt;
&lt;LI&gt;'pg_stat_statements_topn_14+'&lt;/LI&gt;
&lt;LI&gt;'pg_stat_activity_aggregated'&lt;/LI&gt;
&lt;LI&gt;'pg_stat_activity_longest'&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Customer says there is no tables that he can see with those names&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Questions:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;From where those groups are coming?&lt;/LI&gt;
&lt;LI&gt;How can we eliminate those errors?&amp;nbsp;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Postgres version is 15.3&lt;/P&gt;
&lt;P&gt;EF2 version is 2.2.2&lt;/P&gt;
&lt;P&gt;Thanks in advance for your inputs&lt;/P&gt;
&lt;P&gt;Yos&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 07:43:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Postgres-EF2-querying-group-errors/m-p/253692#M4999</guid>
      <dc:creator>Yosi_Neuman</dc:creator>
      <dc:date>2024-08-23T07:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: Postgres EF2 querying group errors</title>
      <link>https://community.dynatrace.com/t5/Extensions/Postgres-EF2-querying-group-errors/m-p/253761#M5003</link>
      <description>&lt;P&gt;Those are just the names of the groups in the extension. The extension actually goes to&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;pg_stat_statements &lt;/STRONG&gt;for&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;'pg_stat_statements_topn'&lt;/LI&gt;&lt;LI&gt;'pg_stat_statements_topn_12-'&lt;/LI&gt;&lt;LI&gt;'pg_stat_statements_topn_14+'&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;pg_stat_activity &lt;/STRONG&gt;for&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;'pg_stat_activity_longest'&lt;/LI&gt;&lt;LI&gt;pg_stat_activity_aggregated&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;You can see this and the exact queries yourself by downloading the extension zip file for your version from the &lt;A href="https://www.dynatrace.com/hub/detail/postgresdb-remote-monitoring/?query=postgres&amp;amp;filter=all#release-notes" target="_self"&gt;Dynatrace Hub&lt;/A&gt; and checking the extension.yaml file.&lt;/P&gt;&lt;P&gt;From the error message, the problem seems to be related to the connection from the AG to the database though... I would suggest opening a support ticket with Dynatrace so that they can have a look at the AG support archive and see exactly what's going on. This kind of problem can be tricky.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 07:10:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Postgres-EF2-querying-group-errors/m-p/253761#M5003</guid>
      <dc:creator>TomásSeroteRoos</dc:creator>
      <dc:date>2024-08-21T07:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Postgres EF2 querying group errors</title>
      <link>https://community.dynatrace.com/t5/Extensions/Postgres-EF2-querying-group-errors/m-p/253792#M5005</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/55565"&gt;@TomásSeroteRoos&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We will open a support ticket&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yos&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 13:13:54 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Postgres-EF2-querying-group-errors/m-p/253792#M5005</guid>
      <dc:creator>Yosi_Neuman</dc:creator>
      <dc:date>2024-08-21T13:13:54Z</dc:date>
    </item>
  </channel>
</rss>

